How to combine mvn clean and mvn install into a single task?
15,654
Choose the option Maven build..., and type clean install
in the Goals text box.
Author by
MockerTim
Updated on June 05, 2022Comments
-
MockerTim almost 2 years
I'm following the Scala, Eclipse and Maven Integration tutorial.
It is really useful.
But there is one thing that seems annoying to me: I always need to run two commands from the Eclipse Run as menu:Maven clean Maven install
Is there any way to configure Scala and Maven plugins for Eclipse, to make it possible to run both tasks as a single command from the Eclipse menu?
For example:
Maven clean install
like in the following Eclipse non-Scala configuration.