You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2008/10/02 22:39:08 UTC

[jira] Closed: (MNG-3576) Maven no longer uses properties from in pom.xml when assembeling

     [ http://jira.codehaus.org/browse/MNG-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-3576.
------------------------------

    Resolution: Fixed

This is a problem with the assembly plugin that has been fixed in the 2.2-beta-2 release. If you specify a version in your POM so that version 2.2-beta-2 of the assembly plugin is used you'll see the results are the same. Maven trunk resolves differently (which is another problem) but orthogonal to your assembly problem.

> Maven no longer uses properties from <properties/> in pom.xml when assembeling
> ------------------------------------------------------------------------------
>
>                 Key: MNG-3576
>                 URL: http://jira.codehaus.org/browse/MNG-3576
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 3.0-alpha-1
>         Environment: Product Version: NetBeans IDE 6.1 (Build 200804211638)
> Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
> System: Linux version 2.6.24-15-generic running on i386; UTF-8; en_GB (nb)
> Mevenide: 3.1.1; Maven 2.1-SNAPSHOT
>            Reporter: Magne Nordtveit
>            Assignee: Jason van Zyl
>             Fix For: 3.0-alpha-1
>
>         Attachments: assemblyreproduce.zip
>
>
> To reproduce this, the project needs to be run with two versions of Maven; 2.0.9 and 2.1-SNAPSHOT.
> 1. Run mvn clean install on the project with maven 2.1-SNAPSHOT; observer the target/assemblyreproduce-1.0-SNAPSHOT-null.dir/assemblyreproduce-1.0-SNAPSHOT/filtered.txt contains properties name, not value.
> 2. Run mvn clean install on the project with maven 2.0.9; observe that the filtered.txt now contains the properties values as they should.

-- 
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