You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2005/10/29 16:30:12 UTC

[jira] Commented: (MNG-1361) Improve the message when the version is missing from a dependency

    [ http://jira.codehaus.org/browse/MNG-1361?page=comments#action_49564 ] 

Jason van Zyl commented on MNG-1361:
------------------------------------

When the version or type are missing from a dependency a g:a string will be displayed so you can easily find the problematic dependency in question.

> Improve the message when the version is missing from a dependency
> -----------------------------------------------------------------
>
>          Key: MNG-1361
>          URL: http://jira.codehaus.org/browse/MNG-1361
>      Project: Maven 2
>         Type: Improvement
>     Reporter: Jason van Zyl
>     Assignee: Jason van Zyl
>      Fix For: 2.0.1

>
>
> When using a dependencyManagement element it's not easy to tell which dependency element in the current POM actually has the problem because we get a message like the following:
> ---
> Project ID: org.apache.geronimo.specs:j2ee
> POM Location: /home/jvanzyl/js/org/apache/geronimo/specs/trunk/j2ee/pom.xml
> Validation Messages:
>     [0]  'dependencies.dependency.version' is missing.
>     [1]  'dependencies.dependency.version' is missing.
>     [2]  'dependencies.dependency.version' is missing.
>     [3]  'dependencies.dependency.version' is missing.
>     [4]  'dependencies.dependency.version' is missing.
> ---
> Would be nice if it also displayed the standard g:a so you can tell what it's referring to.

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