[
http://jira.codehaus.org/browse/MNG-3820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter closed MNG-3820.
-----------------------------
Resolution: Won't Fix
it is by design for interpolation to occur after inheritance so that fields in
the parent can be interpolated as well. This would also be a serious
reproducibility problem for a release.
> Properties in pom or from the command line are not resolved before parent pom
> is tried to load
> ----------------------------------------------------------------------------------------------
>
> Key: MNG-3820
> URL: http://jira.codehaus.org/browse/MNG-3820
> Project: Maven 2
> Issue Type: Improvement
> Components: Command Line
> Affects Versions: 2.0.9
> Reporter: Lassi Immonen
>
> We tried to parametrize the parent version, but it seems to be impossible.
> The parent must be loadable through <relativePath> that the parametrization
> works, but when building submodules alone with parent pom only in repository,
> parametrization is impossible.
> This is impossible:
> <parent>
> <version>${parent_version}</version>
> </parent>
> <properties><parent_version>0.5</parent_version>
> and/or from the command line: -Dparent_version=0.5
> Could the properites and command line be resolved BEFORE the parent pom load?
--
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