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 17:58:08 UTC
svn commit: r1101076 - in /lucene/dev/branches/branch_3x: ./ README.txt
dev-tools/maven/README.maven lucene/ lucene/backwards/
lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/path/
solr/
Author: sarowe
Date: Mon May 9 15:58:08 2011
New Revision: 1101076
URL: http://svn.apache.org/viewvc?rev=1101076&view=rev
Log:
LUCENE-3081: Document Maven nightly builds, artifact generation, and using Maven to build Lucene/Solr
Added:
lucene/dev/branches/branch_3x/dev-tools/maven/README.maven
- copied, changed from r1101072, lucene/dev/trunk/dev-tools/maven/README.maven
Modified:
lucene/dev/branches/branch_3x/ (props changed)
lucene/dev/branches/branch_3x/README.txt
lucene/dev/branches/branch_3x/lucene/ (props changed)
lucene/dev/branches/branch_3x/lucene/backwards/ (props changed)
lucene/dev/branches/branch_3x/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/path/ (props changed)
lucene/dev/branches/branch_3x/solr/ (props changed)
Modified: lucene/dev/branches/branch_3x/README.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/README.txt?rev=1101076&r1=1101075&r2=1101076&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/README.txt (original)
+++ lucene/dev/branches/branch_3x/README.txt Mon May 9 15:58:08 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'
+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/branch_3x/dev-tools/maven/README.maven (from r1101072, lucene/dev/trunk/dev-tools/maven/README.maven)
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/dev-tools/maven/README.maven?p2=lucene/dev/branches/branch_3x/dev-tools/maven/README.maven&p1=lucene/dev/trunk/dev-tools/maven/README.maven&r1=1101072&r2=1101076&rev=1101076&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/README.maven (original)
+++ lucene/dev/branches/branch_3x/dev-tools/maven/README.maven Mon May 9 15:58:08 2011
@@ -16,7 +16,8 @@ A. How to use nightly Jenkins-built Luce
The most recently produced nightly Jenkins-built Lucene and Solr Maven
artifacts 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 +47,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 +71,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 +103,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: