You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2011/05/09 18:08:05 UTC
svn commit: r1101083 - in /lucene/dev/branches/lucene_solr_3_1: ./
README.txt dev-tools/maven/README.maven lucene/ solr/
Author: sarowe
Date: Mon May 9 16:08:05 2011
New Revision: 1101083
URL: http://svn.apache.org/viewvc?rev=1101083&view=rev
Log:
LUCENE-3081: Document Maven nightly builds, artifact generation, and using Maven to build Lucene/Solr
Added:
lucene/dev/branches/lucene_solr_3_1/dev-tools/maven/README.maven
- copied, changed from r1101072, lucene/dev/trunk/dev-tools/maven/README.maven
Modified:
lucene/dev/branches/lucene_solr_3_1/ (props changed)
lucene/dev/branches/lucene_solr_3_1/README.txt
lucene/dev/branches/lucene_solr_3_1/lucene/ (props changed)
lucene/dev/branches/lucene_solr_3_1/solr/ (props changed)
Modified: lucene/dev/branches/lucene_solr_3_1/README.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_3_1/README.txt?rev=1101083&r1=1101082&r2=1101083&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_3_1/README.txt (original)
+++ lucene/dev/branches/lucene_solr_3_1/README.txt Mon May 9 16:08:05 2011
@@ -6,6 +6,7 @@ solr/ is a search engine server that use
To compile the sources run 'ant compile'
To run all the tests run 'ant test'
To setup your ide run 'ant idea' or 'ant eclipse' (only available with SVN checkouts via the dev-tools)
+For Maven info, see dev-tools/maven/README.maven.
For more information on how to contribute see:
http://wiki.apache.org/lucene-java/HowToContribute
Copied: lucene/dev/branches/lucene_solr_3_1/dev-tools/maven/README.maven (from r1101072, lucene/dev/trunk/dev-tools/maven/README.maven)
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_3_1/dev-tools/maven/README.maven?p2=lucene/dev/branches/lucene_solr_3_1/dev-tools/maven/README.maven&p1=lucene/dev/trunk/dev-tools/maven/README.maven&r1=1101072&r2=1101083&rev=1101083&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/README.maven (original)
+++ lucene/dev/branches/lucene_solr_3_1/dev-tools/maven/README.maven Mon May 9 16:08:05 2011
@@ -13,10 +13,15 @@ D. How to use Maven to build Lucene/Solr
A. How to use nightly Jenkins-built Lucene/Solr Maven artifacts
+ Nightly Jenkins Maven builds are run only for the next minor and major
+ release branches, and not for patch release branches.
+
The most recently produced nightly Jenkins-built Lucene and Solr Maven
- artifacts are available in Maven repository layout here:
+ artifacts for the next minor release branch are available in Maven
+ repository layout here:
- <https://builds.apache.org/hudson/job/Lucene-Solr-Maven-trunk/lastSuccessfulBuild/artifact/maven_artifacts/>
+ <https://builds.apache.org/hudson/job/Lucene-Solr-Maven-3.x/lastSuccessfulBuild/artifact/maven_artifacts/>
+
B. How to generate Lucene Maven artifacts
@@ -46,7 +51,7 @@ B. How to generate Lucene Maven artifact
C. How to generate Solr Maven artifacts
- 1. Prerequisites: JDK 1.6+; Ant 1.7.X; and maven-ant-tasks-2.1.1.jar
+ 1. Prerequisites: JDK 1.5+; Ant 1.7.X; and maven-ant-tasks-2.1.1.jar
(see item A.1. above for where to put the Maven ant tasks jar).
2. Run the following from the solr/ directory:
@@ -70,8 +75,7 @@ D. How to use Maven to build Lucene/Solr
The details, followed by some example Maven commands:
- 1. Prerequisite: JDK 1.5+ (for Lucene); JDK 1.6+ (for Solr);
- Maven 2.2.1 or 3.0.X
+ 1. Prerequisites: JDK 1.5+; Maven 2.2.1 or 3.0.X
2. Make sure your sources are up to date. If you checked your sources out
from the Apache Subversion repository, run "svn update" from the top
@@ -103,9 +107,10 @@ D. How to use Maven to build Lucene/Solr
Note that you will need to do this whenever changes to the non-Mavenized
dependencies are committed. It's a good idea to follow every
- "svn update" with "ant get-maven-poms" and "mvn -N -Pbootstrap insall"
+ "svn update" with "ant get-maven-poms" and "mvn -N -Pbootstrap install"
for this reason.
+
Some example Maven commands you can use after you perform the above
preparatory steps: