On 30/04/2010 5:39 AM, Ambikapathy, Srinivas wrote:
Hi Anders. When I sent the first mail I wasn't subscribed to the group. Didn't 
know the policy of the mailing list whether they allow mails from non-members. 
So subscribed to the mailing list and sent the mail again.
Sorry for it anyways.
Anders may have a better answer to your question, if you give him another week to think about it.

I think your problem comes from Maven's view of releases.
You can not deploy a release that has already been deployed.
Releases are immutable and permanent.

If you want to redeploy a release you need to delete the erroneous release in the repo (probably in your local repo as well).

This should not happen very often if you use SNAPSHOTS and versions correctly.

This is not new as far as I know.

Ron


-----Original Message-----
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of 
Anders Hammar
Sent: Friday, April 30, 2010 3:04 PM
To: Maven Users List
Subject: Re: doubt in maven-deploy plugin : deploy-file goal

Didn't you ask the very same question (twice) yesterday? Please don't spam
the mailing list, but allow some days for people to answer.

/Anders

On Thu, Apr 29, 2010 at 16:53, srinivasa raghavan<
srinivasaraghava...@gmail.com>  wrote:

Hi,
have a doubt in maven-deploy plugin 2.5 version. For deploy-file goal ,
they
make a sanity check to see whether the file to be deployed is present in
the
local repository and if so they fail the deploy goal. I believe 2.4 version
didn't do that.

So why is it illegal to deploy artifact from the local repository? (is it
because we use this option only to deploy third party artifacts to the
repository?)

thanks,
Srinivas

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




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

Reply via email to