You need to add the group,arifcatId and version to the
dependencyManagement section of a parent. 

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of David Smiley
Sent: Tuesday, May 09, 2006 4:19 PM
To: m2-dev@maven.apache.org
Subject: inheritance

http://maven.apache.org/guides/introduction/introduction-to-dependency-m
echanism.html

At the above page, there is an example of modules specifying
dependencies without a version.  The version is fully specified by the
parent.  Okay, that's nice.  But it just doesn't work for me.  I get
these errors:

Validation Messages:

     [0]  'dependencies.dependency.version' is missing for
commons-collections:commons-collections
     [1]  'dependencies.dependency.version' is missing for
org.springframework:spring-full
     [2]  'dependencies.dependency.version' is missing for
commons-logging:commons-logging


Reason: Failed to validate POM


What could I have missed?

~ David Smiley
MITRE


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




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

  • inheritance David Smiley
    • RE: inheritance Brian E. Fox

Reply via email to