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 2012/05/30 18:22:11 UTC
svn commit: r1344335 -
/lucene/dev/branches/branch_4x/dev-tools/maven/README.maven
Author: sarowe
Date: Wed May 30 16:22:11 2012
New Revision: 1344335
URL: http://svn.apache.org/viewvc?rev=1344335&view=rev
Log:
Added note about non-official versions triggering test method failure.
Modified:
lucene/dev/branches/branch_4x/dev-tools/maven/README.maven
Modified: lucene/dev/branches/branch_4x/dev-tools/maven/README.maven
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/maven/README.maven?rev=1344335&r1=1344334&r2=1344335&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/dev-tools/maven/README.maven (original)
+++ lucene/dev/branches/branch_4x/dev-tools/maven/README.maven Wed May 30 16:22:11 2012
@@ -103,6 +103,14 @@ D. How to use Maven to build Lucene/Solr
ant -Dversion=4.0-my-special-version get-maven-poms
+ Note: if you change the version in the POMs, there is one test method
+ that will fail under maven-surefire-plugin:
+ o.a.l.index.TestCheckIndex#testLuceneConstantVersion(). It's safe to
+ @Ignore this test method, since it's just comparing the value of the
+ lucene.version system property (set in the maven-surefire-plugin
+ configuration in the lucene-core POM) against a hard-wired official
+ version (o.a.l.util.Constants.LUCENE_MAIN_VERSION).
+
4. To remove the maven-build/ directory and its contents, use the following
command from the top-level directory: