From 8359af4d656b252fefdc063888373a842ee612e0 Mon Sep 17 00:00:00 2001 From: Steven Rowe Date: Wed, 30 May 2012 16:22:31 +0000 Subject: [PATCH] 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 --- dev-tools/maven/README.maven | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-tools/maven/README.maven b/dev-tools/maven/README.maven index 6c1c9c2cfe5..3c66d8e27b9 100644 --- a/dev-tools/maven/README.maven +++ b/dev-tools/maven/README.maven @@ -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: