Hi, what's the best way to prevent the usage of a deprecated plugin? Pre M3 we simply set an unavailable version for the plugin in the pluginMgmt section, but with M3 we get annoying warnings, because M3 resolves now also the pluginMgmt elements:
================ %< ================ [WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:dependency-maven-plugin:99.0-DON_NOT_USE: Plugin org.codehaus.mojo:dependency-maven-plugin:99.0-DON_NOT_USE or one of its dependencies could not be resolved: Missing: ---------- 1) org.codehaus.mojo:dependency-maven-plugin:maven-plugin:99.0-DON_NOT_USE Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.mojo - DartifactId=dependency-maven-plugin -Dversion=99.0-DON_NOT_USE - Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.mojo - DartifactId=dependency-maven-plugin -Dversion=99.0-DON_NOT_USE - Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] ---------- 1 required artifact is missing. for artifact: org.codehaus.mojo:dependency-maven-plugin:maven-plugin:99.0-DON_NOT_USE ================ %< ================ So, what's the alternative? Is there a better way to prevent the accidental usage of this plugin (there are more)? - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org