Details
-
Type:
Improvement
-
Status:
In Progress
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 3.2
-
Component/s: Inheritance and Interpolation
-
Labels:None
-
Number of attachments :
Description
(this may be bumped to 2.1 or even made WON't FIX as it is contentious - see MNG-521)
currently, you have to specify the parent version when extending which makes a project stand alone very easily, but has the drawback of being a maintainance problem when you start development on a new version. Tools can help, but it would be nice not to have to rely on them.
One alternative is to allow the parent version to be omitted, and when it is it is assumed you want the latest. The parent is used from the reactor or the universal source directory. IT may also be read from a LATEST in the repository though this is contentious - it may be better to simply fail in that environment and require builds be in a known checkout structure for building individual projects.
This also introduces the need for tool support to populate the version on release and deployment for reproducibility.
Issue Links
- is duplicated by
-
MNG-4369
Maven does not expand expressions while installing artifacts locally
-
-
MNG-2569
Expressions not evaluated inside <parent>
-
- is related to
-
MNG-3782
Variable substition not performed in transitive dependency using value from active profile
-
-
MNG-3057
properties not expanded in generated POMs when building A/B/C nested projects
-
-
MNG-2446
parent Pom properties not resolved for module dependencies
-
-
MNG-4161
possibility to omit version in dependency of same project (and fill in on install/deploy)
-
-
MNG-3267
replacing variables in version, groupId or artifactId when POM is installed/deployed
-
-
MNG-2199
Version ranges not supported for parent artifacts
-
- relates to
-
MNG-1468
best practices: version management in multi project builds
-
-
MNG-2971
Variables are not replaced into installed pom file
-
-
MNG-3070
${x} properties no longer expanded in </version> tag after 2.0.3
-
-
MINSTALL-50
provide property filtering on .pom files placed in local repo
-
-
MNG-521
Version inheritance from the parent pom
-