开发者

In netbeans 7 how do I skip testing and add maven additional parameters when building a maven project?

开发者 https://www.devze.com 2023-03-07 20:04 出处:网络
I want to issue commands like -开发者_运维技巧Dmaven.test.skip=true -Dcheckstyle.skipGo to your project properties. Right click on the project name in Project Explorer and click Properties. Select Act

I want to issue commands like -开发者_运维技巧Dmaven.test.skip=true -Dcheckstyle.skip


Go to your project properties. Right click on the project name in Project Explorer and click Properties. Select Actions.

Select the configuration that you are interested in. Select the action that you are interested in. Under set properties you can add the skip test and so on.

In netbeans 7 how do I skip testing and add maven additional parameters when building a maven project?


You can also set up global commands by going to:

Tools->Options->Miscellaneous->Maven->Edit Global Custom Goal Definitions.

These will be available to all maven projects.


In Netbeans 8.2 in addition to

Tools->Options->Java->Maven->Execution->Skip Tests (checkbox)

in the same dialog you may need to add -Dmaven.test.skip to the

Global Execution Options (textfield)

In netbeans 7 how do I skip testing and add maven additional parameters when building a maven project?

0

精彩评论

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

关注公众号