You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2011/05/05 23:08:43 UTC

svn commit: r1099969 - /lucene/dev/nightly/common-maven.sh

Author: sarowe
Date: Thu May  5 21:08:43 2011
New Revision: 1099969

URL: http://svn.apache.org/viewvc?rev=1099969&view=rev
Log:
Now running 'mvn clean' before 'mvn install'

Modified:
    lucene/dev/nightly/common-maven.sh

Modified: lucene/dev/nightly/common-maven.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/common-maven.sh?rev=1099969&r1=1099968&r2=1099969&view=diff
==============================================================================
--- lucene/dev/nightly/common-maven.sh (original)
+++ lucene/dev/nightly/common-maven.sh Thu May  5 21:08:43 2011
@@ -39,10 +39,15 @@ JAVA_HOME=$SOLR_JAVA_HOME $M2_HOME/bin/m
     --batch-mode --non-recursive -Pbootstrap install
 echo ">>> Done installing non-mavenized deps into the maven local repo"
 
+echo ">>> Clearing the Ant build output"
+# Use Solr's java version to build all modules
+JAVA_HOME=$SOLR_JAVA_HOME $M2_HOME/bin/mvn --batch-mode --fail-at-end clean
+echo ">>> Done clearing the Ant build output"
+
 echo ">>> Running the Maven build without tests"
 # Use Solr's java version to build all modules
 JAVA_HOME=$SOLR_JAVA_HOME $M2_HOME/bin/mvn \
-    --batch-mode --fail-at-end -DskipTests clean install
+    --batch-mode --fail-at-end -DskipTests install
 echo ">>> Done running the Maven build without tests"
 
 echo ">>> Running tests under Maven"