crowne
crowne

Reputation: 8534

For a maven project in eclipse can I configure menu option Project/Clean to invoke mvn clean

Is there some kind of way of binding an external build command to the eclipse clean action?

If it helps, I am using :

Upvotes: 1

Views: 462

Answers (2)

Konstantin Komissarchik
Konstantin Komissarchik

Reputation: 29139

In general, you can wire any external tool, to be invoked during a particular build lifecycle event by going to Project Properties -> Builders page. There you will be able to define a new tool and specify when it should run.

Upvotes: 0

lweller
lweller

Reputation: 11317

Under Project Properties -> Maven -> Lifecycle Mapping you can configure which goals to run AFTER a clean s involed on this project

Upvotes: 1

Related Questions