Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-139

Not all information from parent available in plugin?

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2-beta-1
    • None
    • 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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lindoorn Ernst Lindoorn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment