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