Skip to content

Commit 37ea5a8

Browse files
authored
[MNG-8577] Project POM hierarchy (#2104)
And some other minor formatting cleanup. --- https://issues.apache.org/jira/browse/MNG-8577
1 parent 08bcf21 commit 37ea5a8

File tree

24 files changed

+36
-68
lines changed

24 files changed

+36
-68
lines changed

api/maven-api-metadata/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
2425
<artifactId>maven-api</artifactId>

api/maven-api-plugin/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
2425
<artifactId>maven-api</artifactId>

api/maven-api-toolchain/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
2425
<artifactId>maven-api</artifactId>

compat/maven-artifact/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-artifact</artifactId>

compat/maven-builder-support/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-builder-support</artifactId>

compat/maven-compat/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-compat</artifactId>

compat/maven-embedder/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-embedder</artifactId>

compat/maven-model-builder/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-model-builder</artifactId>

compat/maven-model/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-model</artifactId>

compat/maven-plugin-api/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-plugin-api</artifactId>

compat/maven-repository-metadata/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-repository-metadata</artifactId>

compat/maven-resolver-provider/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-resolver-provider</artifactId>

compat/maven-settings-builder/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-settings-builder</artifactId>

compat/maven-settings/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-settings</artifactId>

compat/maven-toolchain-builder/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
24-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2526
<version>4.0.0-rc-3-SNAPSHOT</version>
26-
27-
<relativePath>../../</relativePath>
2827
</parent>
2928

3029
<artifactId>maven-toolchain-builder</artifactId>

compat/maven-toolchain-model/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
24-
<artifactId>maven</artifactId>
25+
<artifactId>maven-compat-modules</artifactId>
2526
<version>4.0.0-rc-3-SNAPSHOT</version>
26-
27-
<relativePath>../../</relativePath>
2827
</parent>
2928

3029
<artifactId>maven-toolchain-model</artifactId>

impl/maven-cli/pom.xml

+6-8
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-impl-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-cli</artifactId>
@@ -188,11 +186,6 @@ under the License.
188186
<optional>true</optional>
189187
</dependency>
190188

191-
<dependency>
192-
<groupId>org.apache.maven</groupId>
193-
<artifactId>maven-compat</artifactId>
194-
<scope>test</scope>
195-
</dependency>
196189
<dependency>
197190
<groupId>org.junit.jupiter</groupId>
198191
<artifactId>junit-jupiter-api</artifactId>
@@ -208,6 +201,11 @@ under the License.
208201
<artifactId>jimfs</artifactId>
209202
<scope>test</scope>
210203
</dependency>
204+
<dependency>
205+
<groupId>org.apache.maven</groupId>
206+
<artifactId>maven-compat</artifactId>
207+
<scope>test</scope>
208+
</dependency>
211209
<dependency>
212210
<groupId>org.apache.maven.resolver</groupId>
213211
<artifactId>maven-resolver-connector-basic</artifactId>

impl/maven-core/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-impl-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-core</artifactId>

impl/maven-di/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
24-
<artifactId>maven</artifactId>
25+
<artifactId>maven-impl-modules</artifactId>
2526
<version>4.0.0-rc-3-SNAPSHOT</version>
26-
27-
<relativePath>../../</relativePath>
2827
</parent>
2928

3029
<artifactId>maven-di</artifactId>

impl/maven-executor/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ under the License.
2222

2323
<parent>
2424
<groupId>org.apache.maven</groupId>
25-
<artifactId>maven</artifactId>
25+
<artifactId>maven-impl-modules</artifactId>
2626
<version>4.0.0-rc-3-SNAPSHOT</version>
27-
28-
<relativePath>../../</relativePath>
2927
</parent>
3028

3129
<artifactId>maven-executor</artifactId>

impl/maven-impl/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
24-
<artifactId>maven</artifactId>
25+
<artifactId>maven-impl-modules</artifactId>
2526
<version>4.0.0-rc-3-SNAPSHOT</version>
26-
27-
<relativePath>../../</relativePath>
2827
</parent>
2928

3029
<artifactId>maven-impl</artifactId>

impl/maven-jline/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
24-
<artifactId>maven</artifactId>
25+
<artifactId>maven-impl-modules</artifactId>
2526
<version>4.0.0-rc-3-SNAPSHOT</version>
26-
27-
<relativePath>../../</relativePath>
2827
</parent>
2928

3029
<artifactId>maven-jline</artifactId>

impl/maven-logging/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
24-
<artifactId>maven</artifactId>
25+
<artifactId>maven-impl-modules</artifactId>
2526
<version>4.0.0-rc-3-SNAPSHOT</version>
26-
27-
<relativePath>../../</relativePath>
2827
</parent>
2928

3029
<artifactId>maven-logging</artifactId>

impl/maven-xml/pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ under the License.
1919
-->
2020
<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">
2121
<modelVersion>4.0.0</modelVersion>
22+
2223
<parent>
2324
<groupId>org.apache.maven</groupId>
24-
<artifactId>maven</artifactId>
25+
<artifactId>maven-impl-modules</artifactId>
2526
<version>4.0.0-rc-3-SNAPSHOT</version>
26-
27-
<relativePath>../../</relativePath>
2827
</parent>
2928

3029
<artifactId>maven-xml</artifactId>

0 commit comments

Comments
 (0)