Skip to content

Commit

Permalink
Use the power of build-helper-maven-plugin!
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Jun 24, 2013
1 parent bd1a9d4 commit 09fa6b5
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions pom.xml
Expand Up @@ -10,27 +10,24 @@
<name>${project.artifactId}</name>
<description>Fedora OAuth 2.0 module</description>
<packaging>bundle</packaging>

<properties>
<oltu.version>0.31-SNAPSHOT</oltu.version>
</properties>

<dependencies>
<dependency>
<artifactId>fcrepo-http-api</artifactId>
<groupId>org.fcrepo</groupId>
<version>${project.version}</version>
<exclusions>
<!-- Dependency convergence: fcrepo-http-api (via jersey-json:1.17.1)
depends on jettison:1.1, but org.apache.oltu.oauth2.authzserver
depends on jettison:1.2 -->
depends on jettison:1.1, but org.apache.oltu.oauth2.authzserver depends on
jettison:1.2 -->
<exclusion>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
</exclusion>
<!-- Dependency convergence: fcrepo-http-api (via fcrepo-jcr)
depends on commons-codec:1.6, but org.apache.oltu.oauth2.authzserver
depends on commons-codec:1.8 -->
<!-- Dependency convergence: fcrepo-http-api (via fcrepo-jcr) depends
on commons-codec:1.6, but org.apache.oltu.oauth2.authzserver depends on commons-codec:1.8 -->
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
Expand All @@ -47,8 +44,6 @@
<artifactId>oltu-oauth2-resourceserver-filter</artifactId>
<version>${oltu.version}</version>
</dependency>


<!-- test gear -->
<dependency>
<groupId>org.fcrepo</groupId>
Expand All @@ -57,9 +52,8 @@
<classifier>tests</classifier>
<scope>test</scope>
<exclusions>
<!-- Dependency convergence: fcrepo-kernel
depends on commons-codec:1.6, but org.apache.oltu.oauth2.authzserver
depends on commons-codec:1.8 -->
<!-- Dependency convergence: fcrepo-kernel depends on commons-codec:1.6,
but org.apache.oltu.oauth2.authzserver depends on commons-codec:1.8 -->
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
Expand Down Expand Up @@ -110,9 +104,8 @@
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<exclusions>
<!-- Dependency convergence: httpclient:4.2.5
depends on commons-codec:1.6, but org.apache.oltu.oauth2.authzserver
depends on commons-codec:1.8 -->
<!-- Dependency convergence: httpclient:4.2.5 depends on commons-codec:1.6,
but org.apache.oltu.oauth2.authzserver depends on commons-codec:1.8 -->
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
Expand Down Expand Up @@ -155,6 +148,10 @@
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<repositories>
Expand Down

0 comments on commit 09fa6b5

Please sign in to comment.