You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Eric Charles <er...@u-mangate.com> on 2011/07/24 09:06:44 UTC
4.0-SNAPSHOT in maven repo via Jenkins?
Hi,
Jenkins jobs builds lucene trunk with 'mvn --batch-mode --non-recursive
-Pbootstrap install' [1]
Would it be possible to also invoke 'mvn deploy' to have the
4.0-SNAPSHOT artifacts deployed in apache snapshot repository [2]
Thx.
[1] https://builds.apache.org/job/Lucene-Solr-Maven-trunk/197/consoleFull
[2]
https://repository.apache.org/content/groups/snapshots/org/apache/lucene/lucene-core/
--
Eric Charles
http://about.echarles.net
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: 4.0-SNAPSHOT in maven repo via Jenkins?
Posted by Eric Charles <er...@u-mangate.com>.
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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
--
Eric Charles
http://about.echarles.net
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
RE: 4.0-SNAPSHOT in maven repo via Jenkins?
Posted by Steven A Rowe <sa...@syr.edu>.
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org