开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜