Hi Steven,
Thx for your answers. Seems like I missed the wiki page and SOLR-2634
where much is already said.
Cheers.
On 25/07/11 15:16, Steven A Rowe wrote:
Hi Eric,
On 7/24/2011 at 3:07 AM, Eric Charles wrote:
00000000011111111112222222222333333333344444444445555555555666666666677777777778
12345678901234567890123456789012345678901234567890123456789012345678901234567890
Jenkins jobs builds lucene trunk with 'mvn --batch-mode
--non-recursive -Pbootstrap install' [1]
Two things: a) This Jenkins job builds both Lucene and Solr; and b) the above
non-recursive invocation with the 'bootstrap' profile is used to install the
non-mavenized dependencies to the local repository -- the other two following
invocations actually perform the build:
>>> Installing non-mavenized deps into the maven local repo
.../mvn --batch-mode --non-recursive -Pbootstrap install
[...]
>>> Clearing the Ant build output
.../mvn --batch-mode --fail-at-end clean
[...]
>>> Running the Maven build without tests
.../mvn --batch-mode --fail-at-end -DskipTests install
Would it be possible to also invoke 'mvn deploy' to have the
4.0-SNAPSHOT artifacts deployed in apache snapshot repository [2]
There is an open JIRA issue to do this - while it's nominally a Solr issue, the
fix would apply to both Lucene and Solr:
https://issues.apache.org/jira/browse/SOLR-2634
FYI, in addition to exercising the Maven build using 'mvn install' and 'mvn
test', the nightly Jenkins Maven jobs also run 'ant generate-maven-artifacts',
and then publish the results. See this wiki page for details, including how to
refer to these published snapshot artifacts from your POM:
http://wiki.apache.org/lucene-java/%20HowNightlyBuildsAreMade
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
--
Eric Charles
http://about.echarles.net
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org