adam bien's blog

Configuring Default Goal In Maven 3 📎

The default goal doesn't have to be repeatedly specified from the CLI and can be configured directly in the pom.xml:


<build>
	<defaultGoal>clean install</defaultGoal>
</build>

After the extension, you can perform the build with a simple: mvn

See you at Java EE Workshops at MUC Airport!