You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Robert Muir <rc...@gmail.com> on 2012/06/29 15:19:11 UTC
question about maven artifacts publishing instructions
Currently we have:
http://wiki.apache.org/lucene-java/PublishMavenArtifacts
http://wiki.apache.org/solr/PublishMavenArtifacts
But it seems to me if you follow the lucene instructions, that it does
lucene+solr in one shot.
So I think we can nuke one of these pages and just add a note that it
does both lucene and solr artifacts at once (not obvious since you run
it from the lucene/ directory) ?
--
lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: question about maven artifacts publishing instructions
Posted by Steven A Rowe <sa...@syr.edu>.
Calling 'ant stage-maven-artifacts' with sysprop maven.dist.dir set to a parent directory containing both Lucene and Solr artifacts should be no problem.
'ant stage-maven-artifacts' invokes dev-tools/scripts/write.stage.maven.build.xml.pl, which works by: a) recursing over the directory pointed to by the maven.dist.dir sysprop looking for POM files; b) generating an Ant build file containing one <m2-deploy> invocation for each discovered POM file along with its co-located artifact(s) and signature(s). 'stage-maven-artifacts then calls the generated Ant build file to stage everything to the staging repository pointed to by sysprops m2.repository.id and m2.repository.url.
The script assumes that the directory pointed to by sysprop maven.dist.dir (or directories nested therein, as you've discovered, Robert) was constructed using 'ant generate-maven-artifacts' and that the appropriate files were signed, ordinarily using 'ant sign-artifacts'.
Steve
-----Original Message-----
From: Steven A Rowe [mailto:sarowe@syr.edu]
Sent: Friday, June 29, 2012 1:17 PM
To: dev@lucene.apache.org
Subject: RE: question about maven artifacts publishing instructions
I think it's fine, but later today I'll take a look at the stage-maven-artifacts ant target implementation to make sure. - Steve
-----Original Message-----
From: Robert Muir [mailto:rcmuir@gmail.com]
Sent: Friday, June 29, 2012 1:01 PM
To: dev@lucene.apache.org
Subject: Re: question about maven artifacts publishing instructions
On Fri, Jun 29, 2012 at 12:57 PM, Steven A Rowe <sa...@syr.edu> wrote:
> Was it a parent directory of both the Lucene and the Solr artifacts?
>
yes. is this a problem?
--
lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: question about maven artifacts publishing instructions
Posted by Steven A Rowe <sa...@syr.edu>.
I think it's fine, but later today I'll take a look at the stage-maven-artifacts ant target implementation to make sure. - Steve
-----Original Message-----
From: Robert Muir [mailto:rcmuir@gmail.com]
Sent: Friday, June 29, 2012 1:01 PM
To: dev@lucene.apache.org
Subject: Re: question about maven artifacts publishing instructions
On Fri, Jun 29, 2012 at 12:57 PM, Steven A Rowe <sa...@syr.edu> wrote:
> Was it a parent directory of both the Lucene and the Solr artifacts?
>
yes. is this a problem?
--
lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: question about maven artifacts publishing instructions
Posted by Robert Muir <rc...@gmail.com>.
On Fri, Jun 29, 2012 at 12:57 PM, Steven A Rowe <sa...@syr.edu> wrote:
> Was it a parent directory of both the Lucene and the Solr artifacts?
>
yes. is this a problem?
--
lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: question about maven artifacts publishing instructions
Posted by Steven A Rowe <sa...@syr.edu>.
Hmm, interesting. When I wrote those instructions in the process of performing them for the last release, the Lucene invocation only staged the Lucene artifacts, likewise for the Solr invocation and artifacts.
Where did the artifacts come from? Did you use the download script referred to in the instructions? When you invoked 'ant stage-maven-artifacts', what value did you give the maven.dist.dir sysprop? Was it a parent directory of both the Lucene and the Solr artifacts?
Steve
-----Original Message-----
From: Robert Muir [mailto:rcmuir@gmail.com]
Sent: Friday, June 29, 2012 9:19 AM
To: dev@lucene.apache.org
Subject: question about maven artifacts publishing instructions
Currently we have:
http://wiki.apache.org/lucene-java/PublishMavenArtifacts
http://wiki.apache.org/solr/PublishMavenArtifacts
But it seems to me if you follow the lucene instructions, that it does
lucene+solr in one shot.
So I think we can nuke one of these pages and just add a note that it does both lucene and solr artifacts at once (not obvious since you run it from the lucene/ directory) ?
--
lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org