maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Pounds (JIRA)" <j...@codehaus.org>
Subject [jira] Issue Comment Edited: (MASSEMBLY-139) Not all information from parent available in plugin?
Date Sun, 03 Feb 2008 18:42:58 GMT

    [ http://jira.codehaus.org/browse/MASSEMBLY-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122175
] 

tpounds edited comment on MASSEMBLY-139 at 2/3/08 12:41 PM:
------------------------------------------------------------------

I think this may have already been fixed. (see:  MASSEMBLY-184)

      was (Author: tpounds):
    I think this may have already been fixed.
  
> 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
>
>         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

        

Mime
View raw message