maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Brautaset Aronsen (JIRA)" <>
Subject [jira] Updated: (MNG-3057) properties not expanded in generated POMs when building A/B/C nested projects
Date Tue, 01 Jul 2008 06:55:28 GMT


Henrik Brautaset Aronsen updated MNG-3057:


[^] is a patch against revision 672740 of maven-install-plugin/src/main/java/org/apache/maven/plugin/install/
 It's not very pretty, but it fixes this problem.

How to apply and build:
$ svn checkout maven-install-plugin
$ cd maven-install-plugin/src/main/java/org/apache/maven/plugin/install
$ patch <
$ cd ../../../../../../../..
$ mvn clean install

> properties not expanded in generated POMs when building A/B/C nested projects
> -----------------------------------------------------------------------------
>                 Key: MNG-3057
>                 URL:
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.7
>            Reporter: George Armhold
>             Fix For: 2.0.x
>         Attachments: example.tar.gz, generated-poms.tar.gz,
> Using Maven version: 2.0.8-SNAPSHOT, svn r547427.
> I checked out and built 2.0.8 because I was interested in Jason van Zyl's patch for MNG-2619-
"building from the middle pom of a (parent,child,grandchild) heirarchy fails".  The fix works
for the most part, but there still seems to be a problem with the poms that get generated
during the install goal.  The poms that get installed into .m2/repository do not have properties
interpolated.  If I run maven like:
>    $ mvn install -Dglobal-version=1.0.0
> I get poms with the string "${global-version}" embedded in the resulting poms rather
than what I specify on the command line (or in settings.xml).  The build works properly aside
from this, and if I do "mvn help:effective-pom" the properties are correctly interpolated.
> I've attached a tarfile with an example A/B/C build structure that exhibits this behavior,
as well as the generated poms.
> Many thanks for your attention.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message