Apache Lucene open-source search software
LUCENE-7966: Add comment to Maven readme that MR-JAR is not supported and resulting artifacts are not identical to official Ant build
Uwe Schindlerbc0d6fb6ed7e
diff --git a/dev-tools/maven/README.maven b/dev-tools/maven/README.mavenindex 390177172cd..2a741c136e2 100644--- a/dev-tools/maven/README.maven+++ b/dev-tools/maven/README.maven@@ -116,6 +116,13 @@ D. How to use Maven to build Lucene/Solrant clean-maven-build+ 5. Please keep in mind that this is just a minimal Maven build. The resulting+ artifacts are not the same as those created by the native Ant-based build.+ It should be fine to enable Lucene builds in several Maven-based IDEs,+ but should never be used for Lucene/Solr production usage, as they may lack+ optimized class files (e.g., Java 9 MR-JAR support). To install Lucene/Solr+ in your local repository, see instructions above.+Some example Maven commands you can use after you perform the abovepreparatory steps:@@ -127,6 +134,11 @@ D. How to use Maven to build Lucene/SolrAfter compiling and packaging, but before installing each module'sartifact, the above command will also run all the module's tests.++ The resulting artifacts are not the same as those created by the native+ Ant-based build. They should never be used for Lucene/Solr production+ usage, as they may lack optimized class files (e.g., Java 9 MR-JAR+ support).- Compile, package, and install all binary artifacts to your localrepository, without running any tests: