2020-07-10 03:26:23 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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">
|
|
|
|
<parent>
|
2020-07-21 14:46:44 -04:00
|
|
|
<artifactId>maven-modules</artifactId>
|
2020-07-10 03:26:23 -04:00
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>version-collision</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
2020-07-21 14:46:44 -04:00
|
|
|
<module>project-a</module>
|
|
|
|
<module>project-b</module>
|
|
|
|
<module>project-collision</module>
|
2020-07-10 03:26:23 -04:00
|
|
|
</modules>
|
|
|
|
|
2020-07-21 14:46:44 -04:00
|
|
|
<!--comment section below to provoke version collision in project-collision module-->
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>29.0-jre</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2020-07-10 03:26:23 -04:00
|
|
|
|
2020-07-21 14:46:44 -04:00
|
|
|
<!-- uncomment section below to ban the use of transitive dependencies -->
|
|
|
|
<!-- <build>-->
|
|
|
|
<!-- <plugins>-->
|
|
|
|
<!-- <plugin>-->
|
|
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
<!-- <artifactId>maven-enforcer-plugin</artifactId>-->
|
|
|
|
<!-- <version>3.0.0-M3</version>-->
|
|
|
|
<!-- <executions>-->
|
|
|
|
<!-- <execution>-->
|
|
|
|
<!-- <id>enforce-banned-dependencies</id>-->
|
|
|
|
<!-- <goals>-->
|
|
|
|
<!-- <goal>enforce</goal>-->
|
|
|
|
<!-- </goals>-->
|
|
|
|
<!-- <configuration>-->
|
|
|
|
<!-- <rules>-->
|
|
|
|
<!-- <banTransitiveDependencies/>-->
|
|
|
|
<!-- </rules>-->
|
|
|
|
<!-- </configuration>-->
|
|
|
|
<!-- </execution>-->
|
|
|
|
<!-- </executions>-->
|
|
|
|
<!-- </plugin>-->
|
|
|
|
<!-- </plugins>-->
|
|
|
|
<!-- </build>-->
|
2020-07-10 03:26:23 -04:00
|
|
|
</project>
|