[ http://jira.codehaus.org/browse/MNG-2348?page=comments#action_82344 ] Kenney Westerhof commented on MNG-2348: ---------------------------------------
how about: export NT="-Dmaven.test.skip=true" in you shell startup script, and then mvn $NT install same amount of characters.. > 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.1 > > > 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