Author: olamy
Date: Mon Oct 3 07:43:20 2011
New Revision: 1178319
URL: http://svn.apache.org/viewvc?rev=1178319&view=rev
Log:
add a profile for ci servers to cleanup file ~/.m2/archiva.xml
Modified:
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
URL:
http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml?rev=1178319&r1=1178318&r2=1178319&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml Mon
Oct 3 07:43:20 2011
@@ -605,6 +605,31 @@
<maxWaitTimeInMs>3600000</maxWaitTimeInMs>
</properties>
</profile>
+ <profile>
+ <id>ci-server</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>cleanup-files</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete file="${user.home}/.m2/archiva.xml" quiet="true"/>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<pluginRepositories>