[ http://jira.codehaus.org/browse/MNG-2782?page=all ]
Carlos Sanchez updated MNG-2782:
--------------------------------
Summary: Version property in dependencies is not expanded correctly (was:
Invalid or problematic Spring POMS)
> Version property in dependencies is not expanded correctly
> ----------------------------------------------------------
>
> Key: MNG-2782
> URL: http://jira.codehaus.org/browse/MNG-2782
> Project: Maven 2
> Issue Type: Bug
> Components: Dependencies
> Reporter: Carsten Ziegeler
>
> The Spring poms, for example spring-beans, version 2.0.2 use the following
> dependencies:
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>spring-core</artifactId>
> <version>${project.version}</version>
> </dependency>
> Which means, they are using variables in the poms. In some cases, these
> variables are resolved correctly, but in some cases however they are not,
> causing problems.
> Imho, it would be better to resolve variables for released poms to avoid any
> problems (or if variables are allowed, this is a maven bug then)
--
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