Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.3
-
None
Description
It would be great if Maven supports version ranges when specifying parent artifacts in a multi-module build. Currently this does not work.
<parent> <artifactId>artifactId</artifactId> <groupId>groupId</groupId> <version>[2.0, 2.0.1]</version> </parent>
[INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/groupId/artifactId/[2.0, 2.0.1]/artifactId-[2.0, 2.0.1].pom
Additionally it would be great if this
<parent> <artifactId>artifactId</artifactId> <groupId>groupId</groupId> <version>[2.0, ${pom.version}]</version> </parent>
[INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/groupId/artifactId/[2.0, ${pom.version}]/artifactId-[2.0, ${pom.version}].pom
would also work, if the version is specified in the same pom.xml which defines this parent definition.