How can I disable the Maven Javadoc plugin from the command line?
The Javadoc generation can be skipped by setting the property maven.javadoc.skip
to true
[1], i.e.
-Dmaven.javadoc.skip=true
(and not false
)
It seems, that the simple way
-Dmaven.javadoc.skip=true
does not work with the release-plugin. in this case you have to pass the parameter as an "argument"
mvn release:perform -Darguments="-Dmaven.javadoc.skip=true"