Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(maven): lookup parent homepage/scm information from pom #9722

Merged
merged 22 commits into from Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6d07cf2
(#6742) added support to lookup parent homepage/scm information from …
twendelmuth Apr 25, 2021
7f854ef
Merge branch 'main' of github.com:renovatebot/renovate into feature_6…
Apr 26, 2021
8b3f682
Fix
Apr 26, 2021
9f38ac7
Merge pull request #1 from zharinov/resolve_feature_6742_mvn_lookup_p…
twendelmuth Apr 26, 2021
74f2301
Merge branch 'main' of github.com:renovatebot/renovate into feature_6…
Apr 30, 2021
fe9dce1
Use HTTP mocks
Apr 30, 2021
3d8b9d1
Merge pull request #2 from zharinov/merge-http-mocks
twendelmuth May 2, 2021
0081ff0
Merge branch 'main' into feature_6742_mvn_lookup_parents
twendelmuth May 3, 2021
14e036a
(feat) 6742 reverted sbt implementations to original
twendelmuth May 3, 2021
bb71dc0
(feat) 6742 also reverted imports that we are not using right now
twendelmuth May 3, 2021
5bb9852
Merge branch 'main' of github.com:renovatebot/renovate into feature_6…
May 4, 2021
6ea8020
Add recursion depth limit
May 4, 2021
3d54176
Fix snapshot
May 4, 2021
50505af
Merge pull request #3 from zharinov/feature_6742_mvn_lookup_parents
twendelmuth May 10, 2021
d257e11
Handle empty fields
May 27, 2021
fb6cde8
Merge branch 'main' into feature_6742_mvn_lookup_parents
rarkins May 27, 2021
6655340
Merge pull request #4 from zharinov/feature_6742_mvn_lookup_parents_n…
twendelmuth May 27, 2021
317d168
Merge remote-tracking branch 'remotes/renovate/main' into feature_674…
twendelmuth Jun 18, 2021
47901c5
fixed wrongly resolved conflict
twendelmuth Jun 18, 2021
0d5c9b9
Merge branch 'main' into feature_6742_mvn_lookup_parents
rarkins Jun 23, 2021
8c202e4
Merge branch 'main' into feature_6742_mvn_lookup_parents
viceice Jun 25, 2021
a277607
Merge branch 'main' into feature_6742_mvn_lookup_parents
rarkins Jun 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/child-all-info/meta.xml
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>child-all-info</artifactId>
<version>2.0.0</version>
<versioning>
<versions>
<version>2.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
12 changes: 12 additions & 0 deletions lib/datasource/maven/__fixtures__/child-all-info/pom.xml
@@ -0,0 +1,12 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.example</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
</parent>
<scm>
<!-- example taken from https://maven.apache.org/scm/git.html -->
<url>scm:git:http://www.github.com/child-scm/child</url>
</scm>
<url>https://child-home.example.com</url>
</project>
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/child-no-info/meta.xml
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>child-no-info</artifactId>
<version>2.0.0</version>
<versioning>
<versions>
<version>2.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
7 changes: 7 additions & 0 deletions lib/datasource/maven/__fixtures__/child-no-info/pom.xml
@@ -0,0 +1,7 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.example</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
</parent>
</project>
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/child-scm-gitatcolon/meta.xml
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>child-scm-gitatcolon</artifactId>
<version>2.0.0</version>
<versioning>
<versions>
<version>2.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
@@ -0,0 +1,6 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<scm>
<!-- as seen in https://repo.maven.apache.org/maven2/org/freemarker/freemarker/2.3.20/freemarker-2.3.20.pom -->
<url>git@github.com:child-scm/child</url>
</scm>
</project>
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/child-scm-gitatslash/meta.xml
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>child-scm-gitatslash</artifactId>
<version>2.0.0</version>
<versioning>
<versions>
<version>2.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
@@ -0,0 +1,6 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<scm>
<!-- as seen in https://repo.maven.apache.org/maven2/ro/nextreports/nextreports-engine/9.2/nextreports-engine-9.2.pom -->
<url>git@github.com/child-scm/child</url>
</scm>
</project>
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/child-scm-gitprotocol/meta.xml
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>child-scm-gitprotocol</artifactId>
<version>2.0.0</version>
<versioning>
<versions>
<version>2.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
@@ -0,0 +1,6 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<scm>
<!-- as seen in https://repo.maven.apache.org/maven2/org/xhtmlrenderer/flying-saucer-parent/9.1.9/flying-saucer-parent-9.1.9.pom -->
<url>git://github.com/child-scm/child</url>
</scm>
</project>
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/child-scm/meta.xml
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>child-scm</artifactId>
<version>2.0.0</version>
<versioning>
<versions>
<version>2.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/child-scm/pom.xml
@@ -0,0 +1,11 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.example</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
</parent>
<scm>
<!-- example taken from https://maven.apache.org/scm/git.html -->
<url>scm:git:https://www.github.com/child-scm/child</url>
</scm>
</project>
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/child-url/meta.xml
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>child-url</artifactId>
<version>2.0.0</version>
<versioning>
<versions>
<version>2.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
8 changes: 8 additions & 0 deletions lib/datasource/maven/__fixtures__/child-url/pom.xml
@@ -0,0 +1,8 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.example</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
</parent>
<url>https://child-home.example.com</url>
</project>
11 changes: 11 additions & 0 deletions lib/datasource/maven/__fixtures__/parent-scm-homepage/meta.xml
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
<versioning>
<versions>
<version>1.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
7 changes: 7 additions & 0 deletions lib/datasource/maven/__fixtures__/parent-scm-homepage/pom.xml
@@ -0,0 +1,7 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<scm>
<!-- example taken from https://maven.apache.org/scm/git.html -->
<url>scm:git:git://www.github.com/parent-scm/parent</url>
</scm>
<url>https://parent-home.example.com</url>
</project>