Use of mvn clean -e install

I am new to maven build process. Used the following command for building the project.

mvn clean install

But I am just confused over the command given below, found it is used somewhere else instead of above. Why we are using the following command?Is that -e a necessary or both the same?

mvn -e clean install

Checked for documentation. Some one please explain the differences?

Answers


-e is a maven execution flag which when set causes maven to "Produce execution error messages".

It will basically provide you with more information if something goes wrong.

So basically if the builds are both successful then there is no difference between executing mvn -e clean install or executing mvn clean install. However if something goes wrong then the 1st execution should provide more information which might make the problem easier to solve.

The -e flag is often used together with the -X flag, which produces execution debug output. Details can be found here:

http://maven.apache.org/general.html#How_to_produce_execution_debug_output_or_error_messages

To see all flags available simply execute mvn --help


Need Your Help

Bootstrap - modal sometimes breaks scrolling

javascript jquery html css twitter-bootstrap

When I load the page, a modal immediately is displayed. However, about half the time, it's impossible to scroll. I can see the scrollbar on the side of the window, but it doesn't let you scroll. Al...