You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2008/11/24 17:56:37 UTC
svn commit: r720227 - in /maven/release/trunk: maven-release-plugin/pom.xml
pom.xml
Author: aheritier
Date: Mon Nov 24 08:56:36 2008
New Revision: 720227
URL: http://svn.apache.org/viewvc?rev=720227&view=rev
Log:
Add enforcer rule like in others plugins to see that we don't include plexus-component-api in the future
Modified:
maven/release/trunk/maven-release-plugin/pom.xml
maven/release/trunk/pom.xml
Modified: maven/release/trunk/maven-release-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/pom.xml?rev=720227&r1=720226&r2=720227&view=diff
==============================================================================
--- maven/release/trunk/maven-release-plugin/pom.xml (original)
+++ maven/release/trunk/maven-release-plugin/pom.xml Mon Nov 24 08:56:36 2008
@@ -138,6 +138,30 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <id>ensure-no-container-api</id>
+ <configuration>
+ <rules>
+ <bannedDependencies>
+ <excludes>
+ <exclude>org.codehaus.plexus:plexus-component-api</exclude>
+ </excludes>
+ <message>The new containers are not supported. You
+ probably added a dependency that is missing the
+ exclusions.</message>
+ </bannedDependencies>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Modified: maven/release/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/release/trunk/pom.xml?rev=720227&r1=720226&r2=720227&view=diff
==============================================================================
--- maven/release/trunk/pom.xml (original)
+++ maven/release/trunk/pom.xml Mon Nov 24 08:56:36 2008
@@ -141,6 +141,11 @@
<pluginManagement>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ </plugin>
+ <plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>https://svn.apache.org/repos/asf/maven/release/tags</tagBase>