Skip to content

Commit df48b4d

Browse files
committed
#23 - removed transitive deps on commons-logging, added enforcer plugin to ensure it doesn't come back
1 parent 17a267d commit df48b4d

File tree

3 files changed

+31
-18
lines changed

3 files changed

+31
-18
lines changed

cougar-framework/activemq-transport/pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@
5454
<groupId>org.apache.activemq</groupId>
5555
<artifactId>activeio-core</artifactId>
5656
<version>3.1.4</version>
57+
<exclusions>
58+
<exclusion>
59+
<groupId>commons-logging</groupId>
60+
<artifactId>commons-logging</artifactId>
61+
</exclusion>
62+
</exclusions>
5763
</dependency>
5864
<dependency>
5965
<groupId>org.apache.geronimo.specs</groupId>

cougar-framework/cougar-core-impl/src/main/resources/commons-logging.properties

-17
This file was deleted.

pom.xml

+25-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<version>3.2-SNAPSHOT</version>
3232
<packaging>pom</packaging>
3333
<inceptionYear>2009</inceptionYear>
34-
34+
3535
<distributionManagement>
3636
<site>
3737
<id>github-pages</id>
@@ -591,6 +591,30 @@
591591
</executions>
592592
</plugin>
593593

594+
<plugin>
595+
<groupId>org.apache.maven.plugins</groupId>
596+
<artifactId>maven-enforcer-plugin</artifactId>
597+
<version>1.3.1</version>
598+
<!--<executions>-->
599+
<!--<execution>-->
600+
<!--<id>enforce-banned-dependencies</id>-->
601+
<goals>
602+
<goal>enforce</goal>
603+
</goals>
604+
<configuration>
605+
<rules>
606+
<bannedDependencies>
607+
<excludes>
608+
<exclude>commons-logging</exclude>
609+
</excludes>
610+
</bannedDependencies>
611+
</rules>
612+
<fail>true</fail>
613+
</configuration>
614+
<!--</execution>-->
615+
<!--</executions>-->
616+
</plugin>
617+
594618
</plugins>
595619
</build>
596620
</project>

0 commit comments

Comments
 (0)