You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2005/10/28 11:41:11 UTC

[jira] Created: (MNG-1352) Improve message when a required config is not present in pom.xml

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: maven-core  
    Versions: 2.0    
 Reporter: Vincent Massol


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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1352) Improve message when a required config is not present in pom.xml

Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1352?page=all ]

Edwin Punzalan updated MNG-1352:
--------------------------------

    Attachment: MNG-1352-maven-core.patch

I don't know if this should be fixed.  But I only get to reproduce your message if when I explicitly set alias to be same as the parameter name.

Anyway, the fix attached should prevent it.

> 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: maven-core
>     Versions: 2.0
>     Reporter: Vincent Massol
>     Assignee: Edwin Punzalan
>      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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1352) Improve message when a required config is not present in pom.xml

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1352) Improve message when a required config is not present in pom.xml

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1352?page=all ]

Brett Porter updated MNG-1352:
------------------------------

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

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

    Fix Version: 2.0.1
    Environment: 

> 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: maven-core
>     Versions: 2.0
>     Reporter: Vincent Massol
>      Fix For: 2.0.1

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org