[ 
http://jira.codehaus.org/browse/MNG-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Fox closed MNG-2166.
--------------------------

         Assignee: Brian Fox
       Resolution: Fixed
    Fix Version/s:     (was: 2.x)
                   2.0.8

New output:

{noformat}
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO]

You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for 
options
See http://maven.apache.org for more information.


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Oct 22 20:48:42 EDT 2007
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
{noformat}

> Provide the help listing as default when no arguments are provided
> ------------------------------------------------------------------
>
>                 Key: MNG-2166
>                 URL: http://jira.codehaus.org/browse/MNG-2166
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Command Line
>    Affects Versions: 2.0, 2.0.1, 2.0.2
>         Environment: Any
>            Reporter: Andre Ranvik
>            Assignee: Brian Fox
>            Priority: Minor
>             Fix For: 2.0.8
>
>
> When just writing "mvn" with no arguments on the command line I get a message 
> such as this: 
> >mvn
> [INFO] Scanning for projects...
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] You must specify at least one goal. Try 'install'
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Mar 22 09:15:04 CET 2006
> [INFO] Final Memory: 1M/2M
> [INFO] 
> ----------------------------------------------------------------------------
> Many new users to maven or any other such tools are used to getting at least 
> some basic info of what is expected. How about just displaying the listing 
> that shows up when a user writes "mvn -h" as default when no arguments are 
> privided? This is also a feature that most other similar products have.  I 
> also would suggest printing a URL for where they can get basic information 
> for how to use maven.

-- 
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

        

Reply via email to