lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Busch <busch...@gmail.com>
Subject Re: Publishing M2 Snapshots was Re: [jira] Commented: (LUCENE-935) Improve maven artifacts
Date Thu, 23 Aug 2007 18:11:15 GMT
Grant Ingersoll wrote:
> Michael,
> 
> If we wanted to publish M2 snapshots, we could configure Hudson to call
> generate-maven-artifacts and have them deployed to the M2 snapshots
> repository, right?
> This would mean we would have to change the deploy call a bit in
> common-build.xml so that it could take in the remote repo instead of
> going to the dist.dir, I think.
> 
> 
> -Grant
> 

Hi Grant,

you are right, we should define a property called e. g.
"m2.repository.url" that defaults to "file://${maven.dist.dir}" and use
it in m2-deploy.

If we want to deploy to a remote repository, however, we also have to
register a provider to make the transfer protocol available. For
example, if the remote repository uses scp, we would need to register
the provider with artifact id: "wagon-ssh" like:

<artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-2"/>

You can find more information here:
http://maven.apache.org/ant-tasks.html

I'll reopen LUCENE-935 that we can use to make the additional changes.

- Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message