Added note about non-official versions triggering test method failure.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2012-05-30 16:22:31 +00:00
parent 0288525eec
commit 8359af4d65
1 changed files with 8 additions and 0 deletions

View File

@ -103,6 +103,14 @@ D. How to use Maven to build Lucene/Solr
ant -Dversion=5.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: