artifact versions not inherited
--------------------------------
Key: MNG-593
URL: http://jira.codehaus.org/browse/MNG-593
Project: Maven 2
Type: Bug
Reporter: Kenney Westerhof
Priority: Critical
Artifact versions are not inherited in the following case:
(using short notation: X.pom = project-X/pom.xml)
root.pom:
packaging pom
dependencyManagement: defines a version for artifact X
componentgroup.pom:
packaging pom
parent pom: root.pom
dependencies: depends on artifact X, does not define a version
component.pom:
packaging ejb:
parent pom: componentgroup.pom
dependencies: none
I get a 'version cannot be null' error.
When component.pom defines the dependency itself (no version either),
and extends root.pom directly, there's no problem.
I just want to specify a common dependency in a group!
Btw, installing 'componentgroup.pom' works as expected.
--
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]