[seam-commits] Seam SVN: r11495 - branches/enterprise/JBPAPP_5_0/build.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Sep 16 08:34:12 EDT 2009
Author: manaRH
Date: 2009-09-16 08:34:12 -0400 (Wed, 16 Sep 2009)
New Revision: 11495
Modified:
branches/enterprise/JBPAPP_5_0/build/root.pom.xml
Log:
JBPAPP-2800 - added exclusion for servlet-api in org.tuckey:urlrewrite dependency, banned servlet-api 2.3 dependency
Modified: branches/enterprise/JBPAPP_5_0/build/root.pom.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/build/root.pom.xml 2009-09-16 07:35:20 UTC (rev 11494)
+++ branches/enterprise/JBPAPP_5_0/build/root.pom.xml 2009-09-16 12:34:12 UTC (rev 11495)
@@ -1069,6 +1069,10 @@
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -1216,6 +1220,35 @@
See http://news.gmane.org/gmane.comp.apache.maven.announce
-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <id>enforce-banned-dependencies</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <bannedDependencies>
+ <excludes>
+ <exclude>javax.servlet:servlet-api:2.3</exclude>
+ </excludes>
+ <includes>
+ <!--only 2.5 of servlet-api is allowed-->
+ <include>javax.servlet:servlet-api:2.5</include>
+ </includes>
+ </bannedDependencies>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+
<!-- Building -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
More information about the seam-commits
mailing list