Hi,

I have a bunch of plugins like enforcer that I want to run with `mvn
validate -o` but I get
Cannot access *repo* in offline mode and the artifact
*artifact*:jar:2.4.1-20240322.141808-12 has not been downloaded from it
before

There are snapshots of that artifact available in local maven repo, just
not that specific one.
I thought changing the updatePolicy to NEVER would solve this, but the new
enforcer (which now uses resolver) fails nonetheless.

Is there a way to get resolver to treat all snapshots as equal in offline
mode? Is there a reason this isn't the default?

Thanks,
Delany

Reply via email to