[ http://jira.codehaus.org/browse/MNG-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129075#action_129075 ]
Elifarley Callado Coelho commented on MNG-2348: ----------------------------------------------- You could save youself 5 characters if you just omit the "=true" part. If you declare a property without defining its value, the default value of "true" will automatically be assigned to it. Well, 5 characters isn't that much, I concede :P > add a simple command line alias for -Dmaven.test.skip=true as I find myself > typing it very very often > ----------------------------------------------------------------------------------------------------- > > Key: MNG-2348 > URL: http://jira.codehaus.org/browse/MNG-2348 > Project: Maven 2 > Issue Type: Improvement > Components: Command Line > Affects Versions: 2.0.4 > Reporter: james strachan > Fix For: 2.x > > > Could we have some simple alias on the command line to disable unit tests > just like we have maven -o for offline. > Don't much mind what it is - how about... > -nt --no-tests Disables the junit tests in this build > so to do a build without unit tests > mvn -nt install -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira