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"
|
2021-05-09 07:59:24 -04:00
|
|
|
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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>version-collision</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
2020-07-10 03:26:23 -04:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2021-05-09 07:59:24 -04:00
|
|
|
<!--comment section below to provoke version collision in project-collision module -->
|
2020-07-21 14:46:44 -04:00
|
|
|
<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 -->
|
2021-05-09 07:59:24 -04:00
|
|
|
<!-- <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>
|