[DS-3057] Enable enforce versions to prevent dependency issues (Fixing dspace-parent & dspace pom.xml)

This commit is contained in:
KevinVdV
2016-03-08 15:04:05 +01:00
parent 346bd5bcd5
commit 4a5f4f215b
2 changed files with 32 additions and 0 deletions

View File

@@ -157,7 +157,34 @@
<artifactId>dspace-oai</artifactId>
<type>jar</type>
<classifier>classes</classifier>
<exclusions>
<exclusion>
<groupId>com.lyncode</groupId>
<artifactId>builder-commons</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.lyncode</groupId>
<artifactId>builder-commons</artifactId>
<version>1.0.2</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
</dependency>
<!-- The Servlet API is also needed by the 'dspace oai' launcher.xml
command. -->
<dependency>

View File

@@ -274,6 +274,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
</plugin>
</plugins>
</build>