Skip to content

Instantly share code, notes, and snippets.

@banterCZ
Last active August 29, 2015 14:20
Show Gist options
  • Save banterCZ/3b540202d3045e9040f5 to your computer and use it in GitHub Desktop.
Save banterCZ/3b540202d3045e9040f5 to your computer and use it in GitHub Desktop.
Dependency mediation - this determines what version of a dependency will be used when multiple versions of an artifact are encountered. http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>cz.zvestov.mvn</groupId>
<artifactId>transitive-dependencies</artifactId>
<version>1.0.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>3.2.4.RELEASE</version>
</dependency>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>3.1.4.RELEASE</version>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment