maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lassi Immonen (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-3820) Properties in pom or from the command line are not resolved before parent pom is tried to load
Date Fri, 07 Nov 2008 14:19:13 GMT
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

        

Mime
View raw message