Failed to execute goal on project lcms.web:
Could not resolve dependencies for project lcms:lcms.web:war:0.0.1-SNAPSHOT:
From your error details,
Failed to transfer file: http://*******/artifactory/ext-snapshot-local/lcmsdaomodel/lcms.dao.model/1.1.1/lcms.dao.model-1.1.1.pom.
Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]
You have deployed a release version of lcms.dao.model in ext-snapshot-local which is only used to deploy manual snapshot of libraries. Check artifactory documentation.
lcms.dao.model
is a released artifact, then login into your artifactory and delete entry for this library in Artifacts -> Tree Browser -> ext-snapshot-local. You need to have released version of this library in your artifactory.1.1.1-SNAPSHOT
I received this error with the archiva repository directory of the artifact being incorrectly set such that archiva didn't have write access.
I have the same error, I was deploying snapshot and snapshotRepository settings was not included in my main pom's distributionManagement. fix by adding snapshotRepository
<distributionManagement>
<snapshotRepository>
<id>snapshots</id>
<name>libs-snapshot</name>
<url>http://artifactory.private-apps.com/artifactory/libs-snapshot-local</url>
</snapshotRepository>
</distributionManagement>
I had this problem and clearing out my .m2 directory fixed it.
It seems that you are trying to resolve RELEASE artifact from a SNAPSHOT repository, therefore Artifactory is sending an error (409 conflict).
You should direct your build to 'libs-releases' virtual repository, or any other virtual repository that holds only releases, so only repositories that hold release artifacts will be involved in the process of RELEASE artifact resolution
You can read here more about resolution from Artifactory Maven repositories