diff options
author | Olivier Lamy <olamy@apache.org> | 2011-10-03 07:43:20 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-10-03 07:43:20 +0000 |
commit | a8774906368f3c73b8c672e0fefc24f312c60f43 (patch) | |
tree | 8c284a9e276aee2f649affedd47c8c9ba76fdc97 /archiva-modules/archiva-web/archiva-webapp-test/pom.xml | |
parent | 25034c1f50381551a2d53464fd801a8915f60908 (diff) | |
download | archiva-a8774906368f3c73b8c672e0fefc24f312c60f43.tar.gz archiva-a8774906368f3c73b8c672e0fefc24f312c60f43.zip |
add a profile for ci servers to cleanup file ~/.m2/archiva.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178319 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp-test/pom.xml')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp-test/pom.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml index 0d6786011..93d9cfb8a 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml @@ -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> |