[ http://jira.codehaus.org/browse/MNG-1352?page=all ]
     
John Casey closed MNG-1352:
---------------------------

    Resolution: Fixed

Applied. Thanks, Edwin.

> Improve message when a required config is not present in pom.xml
> ----------------------------------------------------------------
>
>          Key: MNG-1352
>          URL: http://jira.codehaus.org/browse/MNG-1352
>      Project: Maven 2
>         Type: Improvement
>   Components: Plugins and Lifecycle
>     Versions: 2.0
>     Reporter: Vincent Massol
>     Assignee: John Casey
>      Fix For: 2.0.1
>  Attachments: MNG-1352-maven-core.patch
>
>
> As you can see below the message has an "OR" but the 2 alternatives are the 
> same:
> C:\dev\cargo\trunk\samples\extensions\maven2>mvn clean 
> org.codehaus.cargo.maven2:cargo-maven2-plugin:start
> [INFO] Scanning for projects...
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Building Cargo Sample for the Maven2 plugin
> [INFO]    task-segment: [clean, 
> org.codehaus.cargo.maven2:cargo-maven2-plugin:start]
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] 
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] One or more required plugin parameters are invalid/missing for 
> 'cargo2:start'
> [0] inside the definition for plugin: 'cargo-maven2-plugin'specify the 
> following:
> <configuration>
>   ...
>   <container>VALUE</container>
> </configuration>
> -OR-
> <configuration>
>   ...
>   <container>VALUE</container>
> </configuration>
> .
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Fri Oct 28 11:38:41 CEST 2005
> [INFO] Final Memory: 2M/5M
> [INFO] 
> ----------------------------------------------------------------------------
> C:\dev\cargo\trunk\samples\extensions\maven2>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to