I have question about maven. How can I disable buildnumber-maven-plugin through command line option. I want to run \"mvn test\" command on our continuous integration server,
One approach would be to use a property in your pom to specify the execution phase of the build number plugin, as shown below.
..
validate
..
..
org.codehaus.mojo
buildnumber-maven-plugin
1.2
${buildnumber.plugin.phase}
create
..
..
Then provide the property on the command line to disable the plugin, as shown in the following example.
mvn install -Dbuildnumber.plugin.phase=none