This is just like this question only this is about the maven-assembly-plugin, not the javadoc plugin. I don't want to use a profile to do this because that would be more error prone than a command line option.
The Assembly Plugin for Maven enables developers to combine project output into a single distributable archive that also contains dependencies, modules, site documentation, and other files. Your project can easily build distribution "assemblies" using one of the prefabricated assembly descriptors.
The Javadoc generation can be skipped by setting the property maven. javadoc. skip to true [1], i.e.
If you want to control Maven's logging level, you can use one of the following three command line options: -e, --errors. Produce execution error messages. -X, --debug.
I figured this out on my own. You do it with -Dassembly.skipAssembly=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With