You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2008/11/26 05:45:42 UTC
svn commit: r720741 - /maven/touchstone/touchstone/pom.xml
Author: jvanzyl
Date: Tue Nov 25 20:45:42 2008
New Revision: 720741
URL: http://svn.apache.org/viewvc?rev=720741&view=rev
Log:
o adding enforcer
Modified:
maven/touchstone/touchstone/pom.xml
Modified: maven/touchstone/touchstone/pom.xml
URL: http://svn.apache.org/viewvc/maven/touchstone/touchstone/pom.xml?rev=720741&r1=720740&r2=720741&view=diff
==============================================================================
--- maven/touchstone/touchstone/pom.xml (original)
+++ maven/touchstone/touchstone/pom.xml Tue Nov 25 20:45:42 2008
@@ -14,16 +14,73 @@
<version>3.8.1</version>
<scope>test</scope>
</dependency>
- </dependencies>
- <!--
+ </dependencies>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
- <version>1.0-alpha-6</version>
+ <version>1.0-beta-2</version>
</extension>
</extensions>
+ <plugins>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <id>enforce</id>
+ <configuration>
+ <rules>
+ <bannedDependencies>
+ <excludes>
+ <exclude>velocity:velocity:jar:1.4</exclude>
+ <exclude>velocity:velocity-dep:jar:1.4</exclude>
+ </excludes>
+ <message> Velocity 1.4 is banned, Velocity 1.5 should be used! You probably added a dependency that is
+ missing
+ the
+ exclusions. </message>
+ </bannedDependencies>
+ <bannedDependencies>
+ <excludes>
+ <exclude>commons-logging:*</exclude>
+ </excludes>
+ <message> commons-logging conflicts with slf4j. You probably added a dependency that is missing the
+ exclusions. </message>
+ </bannedDependencies>
+ <bannedDependencies>
+ <excludes>
+ <exclude>*:plexus-component-api</exclude>
+ </excludes>
+ <message> plexus-component-api conflicts with newer plexus-container-default. You probably added a
+ dependency
+ that is plexus component made
+ with older plexus container. </message>
+ </bannedDependencies>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
- -->
+ <distributionManagement>
+ <repository>
+ <id>releases</id>
+ <name>releases</name>
+ <url>http://localhost:8081/nexus/content/repositories/releases
+ </url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots</id>
+ <name>snapshots</name>
+ <url>http://localhost:8081/nexus/content/repositories/snapshots
+ </url>
+ </snapshotRepository>
+ </distributionManagement>
</project>