[ http://jira.codehaus.org/browse/MNG-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129077#action_129077 ]
james strachan commented on MNG-2348: ------------------------------------- You can always work around sucky programs with lousy command line arguments with aliases / custom scripts / environment variables. But that doesn't mean we shouldn't make good programs with nice concise command line arguments for *really really common* options that users type every day. I dunno about you but I run maven builds on loads of different boxes & vmware images and having to setup an environment variable on them all is a PITA. Why can't we have a real simple command line argument for petes sake? :) Disabling unit tests from running is something most developers need to ALOT (e.g. building some other project you don't work on). > 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