On Thu, Nov 4, 2010 at 1:16 PM, Martin Gentry <[email protected]> wrote:
> The basic issue is that when I execute "mvn deploy" the artifact is being
> successfully deployed to the snapshot repository, but Maven is also
> attempting to deploy it to the release repository, which is failing ... as
> it should. My understanding of my current configuration is that it should
> NOT be deploying it to the release repository as well.
It's not... I see a war going to snapshots and a _jar_ going to releases.
What's in the pom? I see:
[INFO] [deploy:deploy-file {execution: default}]
And 'deploy-file' is not part of the default lifecycle, it's usually
used at the command line.
My guess is that someone has configured an execution of the deploy
plugin trying to push an extra jar into the repo. (If you're trying
to deploy the class files from a webapp, the war plugin has an option
to do that for you, though it's better to put the classes in a
separate module.)
Can you reproduce this with a sample project and file:///path/to/repo
urls and show us the pom?
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]