Skip to content

Commit

Permalink
Forcefully use maven-enforcer-plugin:1.2 over the 1.0 declared in oss…
Browse files Browse the repository at this point in the history
…-parent
  • Loading branch information
Edwin Shin committed Jun 21, 2013
1 parent 2e08242 commit 2483c50
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pom.xml
Expand Up @@ -502,6 +502,12 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
</plugin>
<!-- oss-parent:7 declares maven-enforcer-plugin:1.0, which can't be
overridden in pluginManagement. Our deployment of snapshots via Jenkins
requires that we use at least version 1.1 because of
http://jira.codehaus.org/browse/MENFORCER-118.
If/when oss-parent:8 is released we can re-instate this section of
pluginManagement
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.2</version>
Expand Down Expand Up @@ -532,6 +538,7 @@
</execution>
</executions>
</plugin>
-->
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.15</version>
Expand Down Expand Up @@ -775,6 +782,33 @@
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<DependencyConvergence />
<bannedDependencies>
<searchTransitive>true</searchTransitive>
<excludes>
<exclude>commons-logging</exclude>
<exclude>log4j:log4j</exclude>
<exclude>org.slf4j:slf4j-jcl</exclude>
<exclude>org.slf4j:slf4j-jdk14</exclude>
<exclude>org.slf4j:slf4j-log4j12</exclude>
<exclude>org.slf4j:slf4j-log4j13</exclude>
<exclude>org.slf4j:slf4j-nop</exclude>
<exclude>org.slf4j:slf4j-simple</exclude>
<exclude>org.apache.cxf</exclude>
</excludes>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
Expand Down

0 comments on commit 2483c50

Please sign in to comment.