[ http://jira.codehaus.org/browse/MNG-675?page=comments#action_48926 ]
Magnus Heino commented on MNG-675:
----------------------------------
This dependency:
<dependency>
<groupId>batik</groupId>
<artifactId>batik:batik-svggen</artifactId>
<version>1.6</version>
</dependency>
using maven-artifact-ant-2.0-dep.jar will cause the same "Failed to validate
POM" without any help error message.
Fix it to :
<dependency>
<groupId>batik</groupId>
<artifactId>batik-svggen</artifactId>
<version>1.6</version>
</dependency>
and it will work just fine...
> Improve 'dependencies.dependency.version is missing' error message
> ------------------------------------------------------------------
>
> Key: MNG-675
> URL: http://jira.codehaus.org/browse/MNG-675
> Project: Maven 2
> Type: Improvement
> Reporter: Kenney Westerhof
> Assignee: John Casey
> Fix For: 2.0-beta-1
>
>
> When leaving out a <version> from at least one dependency, the following
> error message appears. With a lot of dependencies, where all versions are
> managed
> in dependencyManagement in the parent pom, it's hard to tell which version is
> missing:
> [INFO] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Reason: Failed to validate POM for
> 'm:\qwesken_adm_1.0_dev_inc2\spf\products\adm\design\application\pom.xml'.
> Reason(s):
> [0] 'dependencies.dependency.version' is missing.
--
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]