lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject RE: question about maven artifacts publishing instructions
Date Fri, 29 Jun 2012 21:35:33 GMT
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 <sarowe@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

Mime
View raw message