JAVA-10358 changes done to include maven-multi-module changes

This commit is contained in:
Dhawal Kapil 2022-03-14 22:58:20 +05:30
parent cdc6380359
commit df1cb49ab2
4 changed files with 34 additions and 3 deletions

View File

@ -10,7 +10,14 @@
<parent> <parent>
<artifactId>parent-project</artifactId> <artifactId>parent-project</artifactId>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<version>1.0.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.3.30.RELEASE</version>
</dependency>
</dependencies>
</project> </project>

View File

@ -4,6 +4,7 @@
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">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>parent-project</artifactId> <artifactId>parent-project</artifactId>
<version>1.0-SNAPSHOT</version>
<name>parent-project</name> <name>parent-project</name>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -19,4 +20,13 @@
<module>webapp</module> <module>webapp</module>
</modules> </modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.3.16</version>
</dependency>
</dependencies>
</dependencyManagement>
</project> </project>

View File

@ -10,7 +10,7 @@
<parent> <parent>
<artifactId>parent-project</artifactId> <artifactId>parent-project</artifactId>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<version>1.0.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
</project> </project>

View File

@ -7,10 +7,24 @@
<artifactId>webapp</artifactId> <artifactId>webapp</artifactId>
<name>webapp</name> <name>webapp</name>
<packaging>war</packaging>
<parent> <parent>
<artifactId>parent-project</artifactId> <artifactId>parent-project</artifactId>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<version>1.0.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>