Skip to content

Commit 2743b7a

Browse files
author
thibault.faure
committed
BAEL-6358 Code for the Starting the Maven Build From the Point Where It Failed article
1 parent 86932cb commit 2743b7a

4 files changed

Lines changed: 65 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
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>business</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
<name>business</name>
9+
<parent>
10+
<groupId>com.baeldung</groupId>
11+
<artifactId>resume-from</artifactId>
12+
<version>1.0-SNAPSHOT</version>
13+
</parent>
14+
<dependencies>
15+
<dependency>
16+
<groupId>com.baeldung</groupId>
17+
<artifactId>lib</artifactId>
18+
<version>1.0-SNAPSHOT</version>
19+
</dependency>
20+
</dependencies>
21+
22+
<properties>
23+
<maven.compiler.source>11</maven.compiler.source>
24+
<maven.compiler.target>11</maven.compiler.target>
25+
</properties>
26+
27+
28+
</project>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
public class Main {
2+
3+
public static void main(String[] args) {
4+
System.out.println("Hello world!");
5+
}
6+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
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>lib</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
<name>lib</name>
9+
<parent>
10+
<groupId>com.baeldung</groupId>
11+
<artifactId>resume-from</artifactId>
12+
<version>1.0-SNAPSHOT</version>
13+
</parent>
14+
15+
</project>

maven-modules/resume-from/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
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+
<groupId>com.baeldung</groupId>
7+
<artifactId>resume-from</artifactId>
8+
<version>1.0-SNAPSHOT</version>
9+
<name>resume-from</name>
10+
<packaging>pom</packaging>
11+
<modules>
12+
<module>business</module>
13+
<module>lib</module>
14+
</modules>
15+
16+
</project>

0 commit comments

Comments
 (0)