[
https://issues.apache.org/jira/browse/MDEPLOY-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MDEPLOY-262.
----------------------------------
Resolution: Cannot Reproduce
Works for me:
{format}
[DEBUG] Executing request PUT
/bb/test/net/sf/michael-o/michael-o-parent/14-SNAPSHOT/michael-o-parent-14-20200818.091013-1-site-resources.zip
HTTP/1.1
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] http-outgoing-2 >> PUT
/bb/test/net/sf/michael-o/michael-o-parent/14-SNAPSHOT/michael-o-parent-14-20200818.091013-1-site-resources.zip
HTTP/1.1
[DEBUG] http-outgoing-2 >> Cache-control: no-cache
[DEBUG] http-outgoing-2 >> Cache-store: no-store
[DEBUG] http-outgoing-2 >> Pragma: no-cache
[DEBUG] http-outgoing-2 >> Expires: 0
[DEBUG] http-outgoing-2 >> Accept-Encoding: gzip
[DEBUG] http-outgoing-2 >> User-Agent: Apache-Maven/3.5.4 (Java 1.8.0_265;
Windows 10 10.0)
[DEBUG] http-outgoing-2 >> Content-Length: 3875
[DEBUG] http-outgoing-2 >> Host: localhost:8080
[DEBUG] http-outgoing-2 >> Connection: Keep-Alive
[DEBUG] http-outgoing-2 >> Expect: 100-continue
[DEBUG] http-outgoing-2 >> Authorization: Basic ...
[DEBUG] http-outgoing-2 << HTTP/1.1 100
[DEBUG] http-outgoing-2 << HTTP/1.1 409
[DEBUG] http-outgoing-2 << Content-Length: 0
[DEBUG] http-outgoing-2 << Date: Tue, 18 Aug 2020 09:10:13 GMT
[DEBUG] http-outgoing-2 << Connection: close
[DEBUG] http-outgoing-2: Close connection
[DEBUG] Connection discarded
[DEBUG] Connection released: [id: 2][route: {}->http://localhost:8080][total
kept alive: 0; route allocated: 0 of 20; total allocated: 0 of 40]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.956 s
[INFO] Finished at: 2020-08-18T11:10:14+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy)
on project michael-o-parent: ArtifactDeployerException: Failed to deploy
artifacts: Could not transfer artifact
net.sf.michael-o:michael-o-parent:pom:14-20200818.091013-1 from/to
sonatype-nexus-snapshots (http://localhost:8080/bb/test/): Failed to transfer
file:
http://localhost:8080/bb/test/net/sf/michael-o/michael-o-parent/14-SNAPSHOT/michael-o-parent-14-20200818.091013-1.pom.
Return code is: 409, ReasonPhrase: . -> [Help 1]
{noformat}
> Fail on HTTP-Statuscode 409 on Upload instead of warn
> -----------------------------------------------------
>
> Key: MDEPLOY-262
> URL: https://issues.apache.org/jira/browse/MDEPLOY-262
> Project: Maven Deploy Plugin
> Issue Type: Bug
> Components: deploy:deploy
> Affects Versions: 3.0.0-M1
> Environment: Debian 10
> Maven 3.6.1
> Artifactory 6.13.1
> Reporter: Andreas Wirooks
> Assignee: Michael Osipov
> Priority: Major
>
> We have the situation that an upload fails with HTTP-Statuscode 409. Here the
> maven-deploy-plugin should stop with an error. But it only warns and
> continues. This results in missing files or in case of overwriting different
> contents when overwriting did not succeed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)