jira-importer commented on issue #394: URL: https://github.com/apache/maven-deploy-plugin/issues/394#issuecomment-2771537142
**[Tamas Cservenak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cstamas)** commented Seems new plugin completely omits credentials... hence it gets 401 from server. Note: this is local instance of Sonatype Nexus with "default config" and out-of-the-box pw, so don't worry about credentials "leak". **Good** transaction (m-d-p 2.8.2): ``` Uploading to localhost-nexus: http://localhost:8081/content/repositories/snapshots/org/test/site/1.0-SNAPSHOT/site-1.0-20201209.183108-2.jar [DEBUG] http-outgoing-0 >> "PUT /content/repositories/snapshots/org/test/site/1.0-SNAPSHOT/site-1.0-20201209.183108-2.jar HTTP/1.1[\r][\n]" [DEBUG] http-outgoing-0 >> "Cache-control: no-cache[\r][\n]" [DEBUG] http-outgoing-0 >> "Cache-store: no-store[\r][\n]" [DEBUG] http-outgoing-0 >> "Pragma: no-cache[\r][\n]" [DEBUG] http-outgoing-0 >> "User-Agent: Apache-Maven/3.6.3 (Java 1.8.0_275; Mac OS X 10.16)[\r][\n]" [DEBUG] http-outgoing-0 >> "Content-Length: 2044[\r][\n]" [DEBUG] http-outgoing-0 >> "Host: localhost:8081[\r][\n]" [DEBUG] http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" [DEBUG] http-outgoing-0 >> "Expect: 100-continue[\r][\n]" [DEBUG] http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]" [DEBUG] http-outgoing-0 >> "Authorization: Basic YWRtaW46YWRtaW4xMjM=[\r][\n]" [DEBUG] http-outgoing-0 >> "[\r][\n]" [DEBUG] http-outgoing-0 << "HTTP/1.1 100 Continue[\r][\n]" [DEBUG] http-outgoing-0 << "[\r][\n]" [DEBUG] http-outgoing-0 >> "PK[0x3][0x4][\n]" DATA CONTINUES ``` **Bad** transaction with m-d-p 3.0.0-M1 (no other change in project, just m-d-p version) this is how transaction looks (Authorization is missing): ``` Uploading to localhost-nexus::default: http://localhost:8081/content/repositories/snapshots/org/test/site/1.0-SNAPSHOT/site-1.0-20201209.183142-3.jar [DEBUG] http-outgoing-1 >> "PUT /content/repositories/snapshots/org/test/site/1.0-SNAPSHOT/site-1.0-20201209.183142-3.jar HTTP/1.1[\r][\n]" [DEBUG] http-outgoing-1 >> "Cache-control: no-cache[\r][\n]" [DEBUG] http-outgoing-1 >> "Cache-store: no-store[\r][\n]" [DEBUG] http-outgoing-1 >> "Pragma: no-cache[\r][\n]" [DEBUG] http-outgoing-1 >> "User-Agent: Apache-Maven/3.6.3 (Java 1.8.0_275; Mac OS X 10.16)[\r][\n]" [DEBUG] http-outgoing-1 >> "Content-Length: 2041[\r][\n]" [DEBUG] http-outgoing-1 >> "Host: localhost:8081[\r][\n]" [DEBUG] http-outgoing-1 >> "Connection: Keep-Alive[\r][\n]" [DEBUG] http-outgoing-1 >> "Expect: 100-continue[\r][\n]" [DEBUG] http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]" [DEBUG] http-outgoing-1 >> "[\r][\n]" [DEBUG] http-outgoing-1 << "HTTP/1.1 401 Unauthorized[\r][\n]" [DEBUG] http-outgoing-1 << "Date: Wed, 09 Dec 2020 18:31:42 GMT[\r][\n]" [DEBUG] http-outgoing-1 << "Server: Proximity/3.5.42-SNAPSHOT[\r][\n]" [DEBUG] http-outgoing-1 << "X-Frame-Options: SAMEORIGIN[\r][\n]" [DEBUG] http-outgoing-1 << "X-Content-Type-Options: nosniff[\r][\n]" [DEBUG] http-outgoing-1 << "WWW-Authenticate: BASIC realm="Sonatype Nexus Repository Manager"[\r][\n]" [DEBUG] http-outgoing-1 << "Connection: close[\r][\n]" [DEBUG] http-outgoing-1 << "[\r][\n]" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org