jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Assembly Plugin
  • MASSEMBLY-139

Not all information from parent available in plugin?

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1
  • Fix Version/s: 2.2-beta-1
  • Labels:
    None

Description

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

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    project.zip
    18/Aug/06 9:59 AM
    2 kB
    Ernst Lindoorn
    1. XML File
      project/module/pom.xml 1 kB
    2. Java Source File
      project/module/src/.../project/App.java 0.2 kB
    3. XML File
      project/pom.xml 1 kB
    4. XML File
      project/src/main/assembly/debug.xml 0.6 kB
    5. Java Source File
      project/src/main/java/assembly/App.java 0.2 kB
    Download Zip
    Show
    Zip Archive
    project.zip
    18/Aug/06 9:59 AM
    2 kB
    Ernst Lindoorn

Issue Links

is duplicated by

Bug - A problem which impairs or prevents the functions of the product. MASSEMBLY-184 components are not interpolated - i.e., ${params} are not substituted

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Trevor Pounds added a comment - 02/Feb/08 9:30 PM - edited

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

Show
Trevor Pounds added a comment - 02/Feb/08 9:30 PM - edited I think this may have already been fixed. (see: MASSEMBLY-184)
Hide
Permalink
Ernst Lindoorn added a comment - 06/Feb/08 9:07 AM

Fix confirmed, closed report

Show
Ernst Lindoorn added a comment - 06/Feb/08 9:07 AM Fix confirmed, closed report

People

  • Assignee:
    Unassigned
    Reporter:
    Ernst Lindoorn
Vote (0)
Watch (0)

Dates

  • Created:
    18/Aug/06 9:59 AM
    Updated:
    06/Feb/08 9:07 AM
    Resolved:
    06/Feb/08 9:07 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.