Revision: 64575
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 24, 2013 00:47 by alces
Initial Code
<build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>clear-repo</id> <phase>pre-clean</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <delete dir="${settings.localRepository}"/> </tasks> </configuration> </execution> </executions> </plugin> </plugins> </build>
Initial URL
mvn_antrun_clear_repo
Initial Description
Using this configuration in pom.xml 'clean' should be only one task in mvn command line (for ex. mvn clean compile now breaks a build on dependency problem, but mvn clean && mvn compile works fine).
Initial Title
Clear local maven repository on clean goal via maven-antrun-plugin
Initial Tags
Initial Language
XML