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

artifact classifier not used in outputFileNameMapping

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux

      Description

      The classifier field of an artifact cannot be specified in the outputFileNameMapping.
      This means that attached Artifacts with the same type cannot be distinguished.
      I have a native code libraries attached to a java jar. Next, I have documentation etc attached to the artifact. All files have type .tgz.
      When I specify a depencySet I end up with only one file, instead of several. This is caused by the fact that classifier is removed from the name of the the original input artifact file.

      The workaround is to rename attached artifacts to a different type (rename .tgz to .tar.gz...).

        Issue Links

          Activity

          M. van der Plas created issue -
          Jason van Zyl made changes -
          Field Original Value New Value
          Workflow jira [ 44590 ] Maven [ 44623 ]
          Brett Porter made changes -
          Link This issue is duplicated by MASSEMBLY-18 [ MASSEMBLY-18 ]
          Brett Porter made changes -
          Fix Version/s 2.1 [ 12219 ]
          Brett Porter made changes -
          Workflow Maven [ 44623 ] Maven New [ 49542 ]
          Allan Ramirez made changes -
          Assignee Jason van Zyl [ jason ] Allan Ramirez [ aramirez ]
          Hide
          Allan Ramirez added a comment -

          Fixed in svn.

          Show
          Allan Ramirez added a comment - Fixed in svn.
          Allan Ramirez made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:09:00 UTC 2015 [ 1428224940639 ]
          Mark Thomas made changes -
          Workflow jira [ 12716998 ] Default workflow, editable Closed status [ 12760833 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 22:33:31 UTC 2015 [ 1428273211083 ]
          Mark Thomas made changes -
          Workflow jira [ 12954650 ] Default workflow, editable Closed status [ 12992015 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          69d 19h 24m 1 Allan Ramirez 07/Mar/06 05:03

            People

            • Assignee:
              Allan Ramirez
              Reporter:
              M. van der Plas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development