Hello,

In my case, I had this kind of problem when trying to deploy the
same release twice, with the option "block redeployments" activated on my
release repository...

hope it helps...

Isabelle



2013/9/23 Andrey Bukhman <bukh...@zib.de>

> Hi i have following mistake:
>
> "Stack trace :
> org.apache.maven.lifecycle.**LifecycleExecutionException: Failed to
> execute goal org.apache.maven.plugins:**maven-deploy-plugin:2.7:deploy
> (default-deploy) on project MY_PROJECT: Failed to deploy artifacts: Could
> not transfer artifact MY_PROJECT:war:1.0 from/to archiva.tags (
> http://localhost:8280/**archiva/repository/tags/<http://localhost:8280/archiva/repository/tags/>):
> Failed to transfer file: http://localhost:8280/archiva/**
> repository/tags/......war<http://localhost:8280/archiva/repository/tags/......war>.
> Return code is: 409, ReasonPhrase: Overwriting released artifacts is not
> allowed..
>     at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(**
> MojoExecutor.java:217)
>     at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(**
> MojoExecutor.java:153)
>     at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(**
> MojoExecutor.java:145)
>     at org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.**
> buildProject(**LifecycleModuleBuilder.java:**84)
>     at org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.**
> buildProject(**LifecycleModuleBuilder.java:**59)
>     at org.apache.maven.lifecycle.**internal.LifecycleStarter.**
> singleThreadedBuild(**LifecycleStarter.java:183)
>     at org.apache.maven.lifecycle.**internal.LifecycleStarter.**
> execute(LifecycleStarter.java:**161)
>     at org.apache.maven.DefaultMaven.**doExecute(DefaultMaven.java:**320)
>     at org.apache.maven.DefaultMaven.**execute(DefaultMaven.java:156)
>     at org.jvnet.hudson.maven3.**launcher.Maven3Launcher.main(**
> Maven3Launcher.java:79)
>     at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>     at sun.reflect.**NativeMethodAccessorImpl.**invoke(**
> NativeMethodAccessorImpl.java:**57)
>     at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
> DelegatingMethodAccessorImpl.**java:43)
>     at java.lang.reflect.Method.**invoke(Method.java:606)
>     at org.codehaus.plexus.**classworlds.launcher.Launcher.**
> launchStandard(Launcher.java:**329)
>     at org.codehaus.plexus.**classworlds.launcher.Launcher.**
> launch(Launcher.java:239)
>     at org.jvnet.hudson.maven3.agent.**Maven3Main.launch(Maven3Main.**
> java:158)
>     at hudson.maven.Maven3Builder.**call(Maven3Builder.java:100)
>     at hudson.maven.Maven3Builder.**call(Maven3Builder.java:66)
>     at hudson.remoting.UserRequest.**perform(UserRequest.java:118)
>     at hudson.remoting.UserRequest.**perform(UserRequest.java:48)
>     at hudson.remoting.Request$2.run(**Request.java:326)
>     at hudson.remoting.**InterceptingExecutorService$1.**call(**
> InterceptingExecutorService.**java:72)
>     at java.util.concurrent.**FutureTask.run(FutureTask.**java:262)
>     at java.util.concurrent.**ThreadPoolExecutor.runWorker(**
> ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.**ThreadPoolExecutor$Worker.run(**
> ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.**java:724)"
>
>
> Have you any ideas?
> Whats whorng?
>

Reply via email to