Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.3
-
None
-
Linux laptop 2.6.32-24-generic #38-Ubuntu
Groovy Version: 1.7.3 JVM: 1.6.0_20
Description
It would appear that properties can't be used in the organisation field (potentially others) of a POM, which is certainly valid for Maven projects. I'm not sure how many other things relating to parent projects (as in my example).
Here's the top lines of the stack trace I get from depending on a project that in turn depends on Guava:
General error during conversion: Error grabbing Grapes – unresolved dependency: com.google.guava#guava-collections;r03: java.text.ParseException: inconsistent module descriptor file found in 'file:/home/sean/.m2/repository/com/google/guava/guava-collections/r03/guava-collections-r03.pom': bad organisation: expected='com.google.guava' found='${parent.groupId}';
java.lang.RuntimeException: Error grabbing Grapes – unresolved dependency: com.google.guava#guava-collections;r03: java.text.ParseException: inconsistent module descriptor file found in 'file:/home/sean/.m2/repository/com/google/guava/guava-collections/r03/guava-collections-r03.pom': bad organisation: expected='com.google.guava' found='${parent.groupId}';