Details
-
Type:
Wish
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.3
-
Fix Version/s: 3.1.1
-
Component/s: Inheritance and Interpolation, POM, Reactor and workspace
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
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: [2.0, 2.0.1]/artifactId-[2.0, 2.0.1].pom" class="external-link">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, $
</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.
Issue Links
- relates to
-
MNG-624
automatic parent versioning
-