Merge pull request #14272 from thibaultfaure/article/BAEL-6358

BAEL-6358 Code for the Starting the Maven Build From the Point Where …
This commit is contained in:
davidmartinezbarua 2023-06-26 11:39:37 -03:00 committed by GitHub
commit c67171f37d
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>business</artifactId>
<version>1.0-SNAPSHOT</version>
<name>business</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>resume-from</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>com.baeldung</groupId>
<artifactId>lib</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
</project>

View File

@ -0,0 +1,6 @@
public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>lib</artifactId>
<version>1.0-SNAPSHOT</version>
<name>lib</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>resume-from</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
</project>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>resume-from</artifactId>
<version>1.0-SNAPSHOT</version>
<name>resume-from</name>
<packaging>pom</packaging>
<modules>
<module>business</module>
<module>lib</module>
</modules>
</project>