Set plugin’s version on the command line in maven 2
- by larry cai
I generate default quickstart maven example, and type mvn checkstyle:checkstyle, it always try to use the lastest SNAPSHOT version, probably it is wrong in my nexus server, but
How can I set plugin's version on the command line in maven2, like 2.5 for checkstyle instead of 2.6-SNAPSHOT
C:\HelloWorld>mvn checkstyle:checkstyle
[INFO] Scanning…