Skip to content

Commit

Permalink
Fix project and scm urls in independent project POMs
Browse files Browse the repository at this point in the history
Just like other child projects the project and scm urls are broken for
independent projects. However, these projects inherit from JBoss Parent
POM so we need to override the url once in each parent independent
project as well in addition to the adding the inherit.append.path
attributes.
  • Loading branch information
lucifer4j authored and gastaldi committed Mar 3, 2022
1 parent 716bc60 commit 00a0a15
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 13 deletions.
8 changes: 6 additions & 2 deletions independent-projects/arc/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>

<parent>
Expand All @@ -12,6 +13,7 @@
<groupId>io.quarkus.arc</groupId>
<artifactId>arc-parent</artifactId>
<name>ArC - Parent pom</name>
<url>https://github.com/quarkusio/quarkus</url>
<packaging>pom</packaging>
<version>999-SNAPSHOT</version>

Expand All @@ -23,7 +25,9 @@
</license>
</licenses>

<scm>
<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<url>https://github.com/quarkusio/quarkus</url>
<connection>scm:git:[email protected]:quarkusio/quarkus.git</connection>
<developerConnection>scm:git:[email protected]:quarkusio/quarkus.git</developerConnection>
Expand Down
12 changes: 11 additions & 1 deletion independent-projects/bootstrap/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss</groupId>
Expand All @@ -10,6 +11,7 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-parent</artifactId>
<name>Quarkus - Bootstrap - Parent</name>
<url>https://github.com/quarkusio/quarkus</url>
<packaging>pom</packaging>
<version>999-SNAPSHOT</version>
<licenses>
Expand All @@ -19,6 +21,14 @@
<url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>
<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<url>https://github.com/quarkusio/quarkus</url>
<connection>scm:git:[email protected]:quarkusio/quarkus.git</connection>
<developerConnection>scm:git:[email protected]:quarkusio/quarkus.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>11</maven.compiler.target>
Expand Down
13 changes: 11 additions & 2 deletions independent-projects/enforcer-rules/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss</groupId>
Expand All @@ -11,6 +12,7 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-enforcer-rules</artifactId>
<name>Quarkus - Enforcer Rules</name>
<url>https://github.com/quarkusio/quarkus</url>
<version>999-SNAPSHOT</version>
<licenses>
<license>
Expand All @@ -19,7 +21,14 @@
<url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<url>https://github.com/quarkusio/quarkus</url>
<connection>scm:git:[email protected]:quarkusio/quarkus.git</connection>
<developerConnection>scm:git:[email protected]:quarkusio/quarkus.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>11</maven.compiler.target>
Expand Down
8 changes: 6 additions & 2 deletions independent-projects/ide-config/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
child.project.url.inherit.append.path="false">
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
Expand All @@ -12,6 +13,7 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-ide-config</artifactId>
<name>Quarkus - IDE/Tools - Config</name>
<url>https://github.com/quarkusio/quarkus</url>
<version>999-SNAPSHOT</version>
<packaging>jar</packaging>

Expand All @@ -23,7 +25,9 @@
</license>
</licenses>

<scm>
<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<url>https://github.com/quarkusio/quarkus</url>
<connection>scm:git:[email protected]:quarkusio/quarkus.git</connection>
<developerConnection>scm:git:[email protected]:quarkusio/quarkus.git</developerConnection>
Expand Down
8 changes: 6 additions & 2 deletions independent-projects/qute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss</groupId>
Expand All @@ -15,6 +16,7 @@
<version>999-SNAPSHOT</version>

<name>Qute - Parent</name>
<url>https://github.com/quarkusio/quarkus</url>

<licenses>
<license>
Expand All @@ -24,7 +26,9 @@
</license>
</licenses>

<scm>
<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<url>https://github.com/quarkusio/quarkus</url>
<connection>scm:git:[email protected]:quarkusio/quarkus.git</connection>
<developerConnection>scm:git:[email protected]:quarkusio/quarkus.git</developerConnection>
Expand Down
8 changes: 6 additions & 2 deletions independent-projects/resteasy-reactive/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>

<parent>
Expand All @@ -12,6 +13,7 @@
<groupId>io.quarkus.resteasy.reactive</groupId>
<artifactId>resteasy-reactive-parent</artifactId>
<name>RESTEasy Reactive - Parent pom</name>
<url>https://github.com/quarkusio/quarkus</url>
<packaging>pom</packaging>
<version>999-SNAPSHOT</version>

Expand All @@ -23,7 +25,9 @@
</license>
</licenses>

<scm>
<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<url>https://github.com/quarkusio/quarkus</url>
<connection>scm:git:[email protected]:quarkusio/quarkus.git</connection>
<developerConnection>scm:git:[email protected]:quarkusio/quarkus.git</developerConnection>
Expand Down
13 changes: 12 additions & 1 deletion independent-projects/revapi/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss</groupId>
Expand All @@ -14,8 +15,18 @@
<description>Contains the configuration of the Revapi API checker and the list of the API changes
in the Quarkus APIs.
</description>
<url>https://github.com/quarkusio/quarkus</url>
<packaging>jar</packaging>

<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<url>https://github.com/quarkusio/quarkus</url>
<connection>scm:git:[email protected]:quarkusio/quarkus.git</connection>
<developerConnection>scm:git:[email protected]:quarkusio/quarkus.git</developerConnection>
<tag>HEAD</tag>
</scm>

<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
Expand Down
12 changes: 11 additions & 1 deletion independent-projects/tools/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss</groupId>
Expand All @@ -10,6 +11,7 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-tools-parent</artifactId>
<name>Quarkus - Dev tools - Parent</name>
<url>https://github.com/quarkusio/quarkus</url>
<packaging>pom</packaging>
<version>999-SNAPSHOT</version>
<licenses>
Expand All @@ -19,6 +21,14 @@
<url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>
<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<url>https://github.com/quarkusio/quarkus</url>
<connection>scm:git:[email protected]:quarkusio/quarkus.git</connection>
<developerConnection>scm:git:[email protected]:quarkusio/quarkus.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>11</maven.compiler.target>
Expand Down

0 comments on commit 00a0a15

Please sign in to comment.