Apache Solr open-source search software
LUCENE-3239: require Java 1.6 in the Maven build
Steven Rowe0267596873eb
diff --git a/dev-tools/maven/README.maven b/dev-tools/maven/README.mavenindex cbc9f75bdd2..de54ec4c5d1 100644--- a/dev-tools/maven/README.maven+++ b/dev-tools/maven/README.maven@@ -21,7 +21,7 @@ A. How to use nightly Jenkins-built Lucene/Solr Maven artifactsB. How to generate Lucene Maven artifacts- 1. Prerequisites: JDK 1.5+ and Ant 1.7.X+ 1. Prerequisites: JDK 1.6+ and Ant 1.7.X2. Run the following command from the lucene/ directory:@@ -59,8 +59,7 @@ D. How to use Maven to build Lucene/SolrThe details, followed by some example Maven commands:- 1. Prerequisites: JDK 1.5+ (for Lucene); JDK 1.6+ (for Solr);- Maven 2.2.1 or 3.0.X+ 1. Prerequisites: JDK 1.6 and Maven 2.2.1 or 3.0.X2. Make sure your sources are up to date. If you checked your sources outfrom the Apache Subversion repository, run "svn update" from the topdiff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.templateindex 656a240d3ea..f3f7553bfa7 100644--- a/dev-tools/maven/pom.xml.template+++ b/dev-tools/maven/pom.xml.template@@ -41,7 +41,7 @@<properties><base.specification.version>4.0.0</base.specification.version><maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>- <java.compat.version>1.5</java.compat.version>+ <java.compat.version>1.6</java.compat.version><jetty.version>6.1.26</jetty.version><patched.jetty.version>6.1.26-patched-JETTY-1340</patched.jetty.version><slf4j.version>1.6.1</slf4j.version>