philippe-granet opened a new issue, #11367:
URL: https://github.com/apache/maven/issues/11367

   ### Affected version
   
   Maven 4.0.0-SNAPSHOT (b7f91787195232cb9aee404f4fc13dadc04d6ecb)
   
   ### Bug description
   
   When I deploy a jar project on Artifactory (7.98.13 Server), it deploy 
consumer pom and jar correctly (I see them deployed in my artifactory repo), 
but it fail to deploy build pom:
   ```
   [INFO] --- deploy:3.1.4:deploy (default-deploy) @ artifactId ---
   [INFO] Using alternate deployment repository 
my-repo-snapshots::https://internal.artifactory/artifactory/my-repo-snapshots
   [INFO] Using alternate deployment repository 
my-repo-snapshots::https://internal.artifactory/artifactory/my-repo-snapshots
   [INFO] Using alternate deployment repository 
my-repo-snapshots::https://internal.artifactory/artifactory/my-repo-snapshots
   ...
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:3.1.4:deploy (default-deploy) on 
project artifactId:
   Failed to deploy artifacts: Could not transfer artifact 
groupId:artifactId:pom:build:1.0.0-20251030.185058-2 from/to my-repo-snapshots 
(https://internal.artifactory/artifactory/my-repo-snapshots):
   HTTP Status: 409
   ...
   Caused by: org.eclipse.aether.transfer.ArtifactTransferException:
   Could not transfer artifact 
groupId:artifactId:pom:build:1.0.0-20251030.185058-2 from/to my-repo-snapshots 
(https://internal.artifactory/artifactory/my-repo-snapshots):
   HTTP Status: 409
   ```
   
   I see this issue https://github.com/apache/maven/issues/10663 to be able to 
turn off build POM deployment, but it is closed and no documetatoin or PR 
associated.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to