[jboss-cvs] JBossAS SVN: r80203 - trunk/thirdparty.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 29 12:16:53 EDT 2008
Author: pgier
Date: 2008-10-29 12:16:53 -0400 (Wed, 29 Oct 2008)
New Revision: 80203
Modified:
trunk/thirdparty/pom.xml
Log:
[JBAS-6055] Block dependencies from bringing in app server modules transitively.
Modified: trunk/thirdparty/pom.xml
===================================================================
--- trunk/thirdparty/pom.xml 2008-10-29 16:04:45 UTC (rev 80202)
+++ trunk/thirdparty/pom.xml 2008-10-29 16:16:53 UTC (rev 80203)
@@ -16,6 +16,32 @@
<sourceDirectory>src/main</sourceDirectory>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <id>ban-app-server-modules</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <searchTransitive>true</searchTransitive>
+ <rules>
+ <bannedDependencies>
+ <excludes>
+ <exclude>org.jboss.jbossas:*</exclude>
+ </excludes>
+ <includes>
+ <include>org.jboss.jbossas:jboss-server-manager</include>
+ </includes>
+ </bannedDependencies>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jboss-license-plugin</artifactId>
<version>1.0.0</version>
More information about the jboss-cvs-commits
mailing list