You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ernst Lindoorn (JIRA)" <ji...@codehaus.org> on 2008/02/06 16:09:28 UTC
[jira] Closed: (MASSEMBLY-139) Not all information from parent
available in plugin?
[ http://jira.codehaus.org/browse/MASSEMBLY-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernst Lindoorn closed MASSEMBLY-139.
------------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.2)
2.2-beta-1
Fix confirmed, closed report
> Not all information from parent available in plugin?
> ----------------------------------------------------
>
> Key: MASSEMBLY-139
> URL: http://jira.codehaus.org/browse/MASSEMBLY-139
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Ernst Lindoorn
> Fix For: 2.2-beta-1
>
> Attachments: project.zip
>
>
> In a multimodule project, it seems that not all information of the parent project is passed (or otherwise available) in the assembly plugin.
> Given the attached minimalist setup, I echo the project.parent.name / version and project.name / version.
> During mvn assembly:assembly it seems the project.parent.name variable is not available, while the version is.
> Output:
> [echo] Outputting some variables
> [echo] `-> project.parent: ${project.parent.name} - 1.0-SNAPSHOT
> [echo] `-> project: Module Name - 0.5-SNAPSHOT
> Instead of the expected:
> [echo] Outputting some variables
> [echo] `-> project.parent: Project Name - 1.0-SNAPSHOT
> [echo] `-> project: Module Name - 0.5-SNAPSHOT
--
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