Permalink
Browse files

When rebuilding maven artifacts, use 'clean'

Change-Id: Iec4f53fb8540642d052d306f06bdbe783100c0a4
  • Loading branch information...
1 parent 86ce832 commit d977b91dd3dfc11a541a4cb40fb4bb0035ec3599 @ramnivas ramnivas committed Aug 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -134,7 +134,7 @@ Please run 'sudo aptitude install maven2 default-jdk' on your Linux box"
TESTS_TO_BUILD.each do |test|
puts "\tBuilding '#{test}'"
Dir.chdir test do
- sh('mvn package -DskipTests') do |success, exit_code|
+ sh('mvn clean package -DskipTests') do |success, exit_code|
unless success
clear_build_artifact
do_mvn_clean('-q')

0 comments on commit d977b91

Please sign in to comment.