开发者

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

开发者 https://www.devze.com 2023-02-03 10:12 出处:网络
Is there some ki开发者_StackOverflow社区nd of way of binding an external build command to the eclipse clean action?

Is there some ki开发者_StackOverflow社区nd of way of binding an external build command to the eclipse clean action?

If it helps, I am using :

  • Apache Maven 2.2.1
  • Eclipse Galileo 3.5
  • M2Eclipse plugin (which I know offers an option to run mvn clean)


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消