Maven Assembly Plugin
  1. Maven Assembly Plugin
  2. MASSEMBLY-142

Should be able to use artifact version as variable in <outputDirectory>

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2-beta-2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      It would be useful to be able to use the artifact version as variable in the <outputDirectory> element. If $

      {version}

      is use right now, the version of the current pom is used. It seems there is no way to use the artifact version though.

        Activity

        Hide
        John Casey added a comment -

        This should be fixed in 2.2-beta-2-SNAPSHOT (currently, SVN trunk). If you find that's incorrect, please attach a small test case displaying the problem, and reopen this issue.

        Show
        John Casey added a comment - This should be fixed in 2.2-beta-2-SNAPSHOT (currently, SVN trunk). If you find that's incorrect, please attach a small test case displaying the problem, and reopen this issue.
        Hide
        Neil Crow added a comment -

        2.2-beta-3 in the central repo works for me with the following pattern:
        <outputDirectory>$

        {project.artifactId}

        -$

        {project.version}

        </outputDirectory>

        Show
        Neil Crow added a comment - 2.2-beta-3 in the central repo works for me with the following pattern: <outputDirectory>$ {project.artifactId} -$ {project.version} </outputDirectory>

          People

          • Assignee:
            John Casey
            Reporter:
            Simon Gunzenreiner
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: