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 18:20:57 UTC

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

Author: sarowe
Date: Thu May  5 16:20:57 2011
New Revision: 1099862

URL: http://svn.apache.org/viewvc?rev=1099862&view=rev
Log:
Compilation of the Solr-core module under the Maven build has been broken since SOLR-2378 was committed on April 14th (the Google Guava dependency was declared with <scope>test</scope>, but SOLR-2378 uses it in non-test classes).  The nightly Maven build scripts, both of which include this script, failed to identify the compilation failure because the Ant build output was not being cleared before starting the Maven build.  Adding 'clean' to the 'mvn install' invocation will force Maven to do its own compilation.

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=1099862&r1=1099861&r2=1099862&view=diff
==============================================================================
--- lucene/dev/nightly/common-maven.sh (original)
+++ lucene/dev/nightly/common-maven.sh Thu May  5 16:20:57 2011
@@ -42,7 +42,7 @@ echo ">>> Done installing non-mavenized 
 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 install
+    --batch-mode --fail-at-end -DskipTests clean install
 echo ">>> Done running the Maven build without tests"
 
 echo ">>> Running tests under Maven"