Skip to content

Commit 33e5fd5

Browse files
committed
[JAVA-48021] Moved code for /maven-multi-module from maven-simple to a new sub-module inside parent container maven-modules
1 parent 5d96eb3 commit 33e5fd5

File tree

8 files changed

+23
-8
lines changed

8 files changed

+23
-8
lines changed

maven-modules/maven-simple/parent-project/pom.xml renamed to maven-modules/maven-multi-module/parent-project/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<parent>
1212
<groupId>com.baeldung</groupId>
13-
<artifactId>maven-simple</artifactId>
13+
<artifactId>maven-multi-module</artifactId>
1414
<version>1.0.0-SNAPSHOT</version>
1515
</parent>
1616

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<artifactId>maven-multi-module</artifactId>
7+
<version>1.0.0-SNAPSHOT</version>
8+
<packaging>pom</packaging>
9+
<name>maven-multi-module</name>
10+
11+
<parent>
12+
<groupId>com.baeldung</groupId>
13+
<artifactId>maven-modules</artifactId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
</parent>
16+
17+
<modules>
18+
<module>parent-project</module>
19+
</modules>
20+
21+
</project>

maven-modules/maven-simple/parent-project/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

maven-modules/maven-simple/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@
1414
<version>0.0.1-SNAPSHOT</version>
1515
</parent>
1616

17-
<modules>
18-
<module>parent-project</module>
19-
</modules>
20-
2117
</project>

maven-modules/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<module>maven-generate-war</module>
3636
<module>maven-integration-test</module>
3737
<module>maven-jvm-args</module>
38+
<module>maven-multi-module</module>
3839
<module>maven-multi-source</module>
3940
<module>maven-parent-pom-resolution</module>
4041
<module>maven-plugins</module>

0 commit comments

Comments
 (0)