I believe that what you want is the -noqualifier
javadoc option which can be set directly from the maven javadoc:javadoc
command.
Usually to pass the parameter to a maven plugin you just do like for other Java programs using -D
, in this case it would be mvn -Dnoqualifier=all javadoc:javadoc
but as far as I can tell the noqualifier
does not seems to ben set as an expression in the plugin source so I don't really know if you can pass it via the command line.
If it does not work, you can either modify your pom.xml
and add the <noqualifier>all</noqualifier>
to the config of the javadoc
plugin. Or you could create a property in your pom that will be given as a value for the <noqualifier>
tag, but this time the property can be overridden using the command line.