mirror of https://github.com/apache/lucene.git
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:
parent
0288525eec
commit
8359af4d65
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue