NersesAM commented on PR #1: URL: https://github.com/apache/maven-deploy-plugin/pull/1#issuecomment-1777268274
I tried to create small reproducible case but I am not able to. I started playing a bit more with my project and I noticed that github actions runner was using maven version 3.8.8, same project running with 3.9.5 works just fine! I have no idea what has changed in between the 2. the project I am trying to deploy is https://github.com/ExpediaGroup/styx in github actions I run ``` ./mvnw --settings /home/settings.xml deploy -DskipTests=true -Prelease -Dlibs.release.url=${{env.MAVEN_URL}}/maven-release-local -Dlibs.snapshot.url=${{env.MAVEN_URL}}/maven-snapshot-local -DdeployAtEnd=true -Dlicense.skip=true ``` If you have local server repo server to deploy and can try against. you can skip tests to make the build faster 3.8.8 ``` [INFO] --- maven-deploy-plugin:3.1.1:deploy (default-deploy) @ styx-distribution --- [INFO] Deferring deploy for com.hotels.styx:styx-distribution:1.0-SNAPSHOT at end [INFO] [INFO] --- maven-deploy-plugin:3.1.1:deploy-file (deploy-file) @ styx-distribution --- [INFO] pom.xml not found in styx-1.0-SNAPSHOT.zip Downloading from central: https://artfactory/com/hotels/styx/styx/1.0-SNAPSHOT/maven-metadata.xml [WARNING] Could not transfer metadata com.hotels.styx:styx:1.0-SNAPSHOT/maven-metadata.xml from/to central (https://artifactory): authentication failed for https://artifactory/com/hotels/styx/styx/1.0-SNAPSHOT/maven-metadata.xml, status: 401 Unauthorized ``` vs 3.9.5 ``` [INFO] --- deploy:3.1.1:deploy (default-deploy) @ styx-distribution --- Downloading from snapshots: https://artifactory/com/hotels/styx/styx-parent/1.0-SNAPSHOT/maven-metadata.xml [WARNING] Could not transfer metadata com.hotels.styx:styx-parent:1.0-SNAPSHOT/maven-metadata.xml from/to snapshots (https://artifactory): status code: 401, reason phrase: Unauthorized (401) ``` Ignore it fails, but you can see with 3.8.8 it is failing at deploy:deploy-file skipping deploy:deploy while with 3.9.5 it is actually failing at deploy:deploy phase which was supposed to do deployment of all the modules another interesting thing is if you remove one of the modules with `-pl !plugin-examples` it works with 3.8.8 -- 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