Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you disable the maven-assembly-plugin plugin from the command line?

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.

like image 310
Daniel Kaplan Avatar asked Jul 01 '13 19:07

Daniel Kaplan


People also ask

What is Maven Assembly plug in?

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.

How do I disable Javadoc?

The Javadoc generation can be skipped by setting the property maven. javadoc. skip to true [1], i.e.

Which of the below Maven command line option is used to log errors or other server problems?

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.


1 Answers

I figured this out on my own. You do it with -Dassembly.skipAssembly=true

like image 79
Daniel Kaplan Avatar answered Oct 10 '22 16:10

Daniel Kaplan