Skip to content

Commit

Permalink
chore(jenkins): purge local repository of all Spoon snapshots. (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
surli authored and monperrus committed Dec 21, 2016
1 parent 747c36d commit 3c5ab0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/jenkins/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ xmlstarlet ed -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:build/x:
mv pom.bak22.xml pom.xml
rm pom.bak*.xml

# Purge the project from snapshots
# Avoid to use an old snapshot of Spoon and force the resolution
mvn dependency:purge-local-repository -DmanualInclude="fr.inria.gforge.spoon:spoon-core" -DsnapshotsOnly=true

# Compiles project with spoon configuration.
START_COMPILE_WITH_SPOON=$(($(date +%s%N)/1000000))
mvn clean install
Expand Down

0 comments on commit 3c5ab0f

Please sign in to comment.