You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by pk...@octo.com on 2007/02/08 12:01:12 UTC

Deploy an existing artifiact...

Hello,

I'm looking for a mean that block (or ask) the deployement of a released artifact if a released version already exist
in the remote repository.
This is for avoiding the erasing of an already relased version in case I forgot to increment the version of the Maven
project.

Thanks,
Philippe


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Deploy an existing artifiact...

Posted by Arnaud HERITIER <ah...@gmail.com>.
It's depending of your server.
If you are using an Unix-like server, you can certainly set the rights to
readonly in the artifact plugin for maven 1, or in the deploy plugin in
maven 2.

M2 :
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html
M1 : http://maven.apache.org/maven-1.x/plugins/artifact/properties.html

Arnaud


pkernevez wrote:
> 
> Hello,
> 
> I'm looking for a mean that block (or ask) the deployement of a released
> artifact if a released version already exist
> in the remote repository.
> This is for avoiding the erasing of an already relased version in case I
> forgot to increment the version of the Maven
> project.
> 
> Thanks,
> Philippe
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Deploy-an-existing-artifiact...-tf3192717s177.html#a8869230
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Deploy an existing artifiact...

Posted by pk...@octo.com.
Hello,

I'm looking for a mean that block (or ask) the deployement of a released artifact if a released version already exist
in the remote repository.
This is for avoiding the erasing of an already relased version in case I forgot to increment the version of the Maven
project.

Thanks,
Philippe




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Deploy an existing artifiact...

Posted by Greg Jones <gr...@gkj.com.au>.
Philippe,

Use the maven-release-plugin
(http://maven.apache.org/plugins/maven-release-plugin/). It does everything
you need to release your artifacts, including automatically incrementing
your version to the next SNAPSHOT release, tagging your release and building
the release for you.

Regards,

Greg J.

-----Original Message-----
From: pkernevez@octo.com [mailto:pkernevez@octo.com] 
Sent: Thursday, 8 February 2007 10:01 PM
To: users@maven.apache.org
Subject: Deploy an existing artifiact...

Hello,

I'm looking for a mean that block (or ask) the deployement of a released
artifact if a released version already exist in the remote repository.
This is for avoiding the erasing of an already relased version in case I
forgot to increment the version of the Maven project.

Thanks,
Philippe


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org