Skip to content
Snippets Groups Projects
Unverified Commit 7fd1e2f9 authored by Thorsten Wendelmuth's avatar Thorsten Wendelmuth Committed by GitHub
Browse files

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

parent 222ef91f
No related branches found
No related tags found
No related merge requests found
Showing
with 195 additions and 0 deletions
<?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>
<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>
<?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>
<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>
</parent>
</project>
<?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>
<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>
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.example</groupId>
<artifactId>package</artifactId>
<version>2.0.0</version>
<versioning>
<versions>
<version>2.0.0</version>
</versions>
<lastUpdated>20130301200000</lastUpdated>
</versioning>
</metadata>
<!--
License
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>2.0.0</version>
</parent>
<groupId>org.example</groupId>
<artifactId>child</artifactId>
<name>Generic Package</name>
<description>Generic Maven Package</description>
</project>
<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>child</artifactId>
<version>2.0.0</version>
</parent>
<url>https://parent-home.example.com</url>
</project>
<?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>
<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>
<?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>
<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>
<?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>
<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>
<?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>
<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>
<?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>
<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>
<?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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment