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

finalName as readonly parameter makes common usecases very complicated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.6.0
    • None
    • None

    Description

      The "improvement" done in MASSEMBLY-817 makes some usecases very inconvenient:

      We need to create an archive with one stable name (independent of e.g. version) so we don't have to propagate these information to a bunch of scripts.

      The general solution (i.e. Stack-overflow) refers exactly to the finalName:
      http://stackoverflow.com/questions/20697144/can-not-set-the-final-jar-name-with-maven-assembly-plugin

      Please change finalName back to a settable property.
      It being settable does not hurt anyone satisfied with the default naming convention but makes some usecases vastly simpler (otherwise you have to rename the artifact using yet another plugin or propagate version info possibly through a chain of scripts)

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              ulf.dreyer Ulf Dreyer
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: