Hi,
At our project we recently had an issue where we accidentally included
outdated artifacts (which were still available on snapshot repositories).
To detect those issues in the future by our integration tests, I want to
instruct maven not to download snapshot updates, using the -nsu command
Maven is not downloading updates, but only the SNAPSHOTS it is missing. If
you build another time it won't download anything and even if your update
window (mostly daily) has been passed Maven will not look for new updates
but use the ones it has locally.
If you want to know which dependencies
Thank you Nick.
Your solution would work, but would require us to let users call a bash
script which is calling versions:display-dependency-updates and then doing
the regular build.
We would like to run our builds directly by mvn clean install.
Is there a way to let a maven build fail if we
Hi Robert,
Is there a way to let a maven build fail if we depend on nonexistent
or SNAPSHOT dependencies?
Check out the requireReleaseDeps rule of the Maven Enforcer plugin:
http://maven.apache.org/enforcer/enforcer-rules/requireReleaseDeps.html
Regards,
Curtis
On Tue, May 26, 2015 at 6:55