Jason van Zyl wrote:

On 24 Apr 07, at 3:28 AM 24 Apr 07, Tomasz Pik wrote:

On 4/22/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:
Hi,

I just copied the staged repo for the clover plugin over and I used
the following:

mvn stage:copy -Dsource="http://people.apache.org/~vmassol/maven-
staging" -Dtarget="scp://people.apache.org/www/people.apache.org/repo/
m2-ibiblio-rsync-repository" -Dversion=2.4

Will it copy all artifacts with version=2.4 from one repository to another?
I think that optional groupId/artifactId parameters would be useful,
what does others think about it?


This is a complete stopgap, and I whipped this off because I was tired of something going wrong during deployment and screwing up my release.

This only copies a staged repository and everything in the repository should be copied. You can't stage a release and then only release part of it so I'm not sure why you would want optional groupId/artifactId parameters. This is not to extract a portion of a repository it copies it in its entirety.

I can see where this would be a useful feature. If you are in the process of releasing several different artifacts it would be handy to be able to select which artifact to release by supplying its groupId/artifactId. This would do away with changing deploy.altRepository in settings.xml for every release.

This might be the basis of something better but this is very much specific to Apache for http -> scp, though it is the only combination that provides some degree of safety. The only thing that will ever provide safe and reliable releases is an application that knows how to accept an intact release and atomically merge it into a repository.

Jason.

Regards,
Tomek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to