We had the exact same issue. There's a setting in Artifactory for your local
repositories. Go under Admin, edit a local repo, and on the bottom is a
checkbox Suppress POM Consistency Check. Make sure that is selected.
We too produce two artifacts (release and snapshot) and found we couldn't
Try to run an ivy:report. You will need to ivy:resolve first, but you can
add a parameter to the ivy:resolve not to halt on failure. This will list who
is calling what dependency. I suspect that properties are being used to help
resolve the dependencies and some property isn't set correctly.
Here’s how I fixed the ivy cache issue with Jenkins:
In my ivysettings.xml:
ivysettings
property name=env.EXECUTOR_NUMBER value=0 override=false/
caches
defaultCacheDir=${ivy.default.ivy.user.dir}/cache-${env.EXECUTOR_NUMBER}