Maven WAR Plugin
  1. Maven WAR Plugin
  2. MWAR-211

Ability to rename a dependency's jar when putting it on the lib folder

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Maven put on my 'lib' folder the jars of my project's dependencies named like <artefactId>-<version>.jar

      This is a problem when we need to reference the jar filename from sourcecode, because if we change the dependency version, we have to track all source code references to it and correct them. This is the case when importing a taglib into a jsp page

      It would be better if Maven put only <artefactId>.jar on the lib folder. And even better if it let us use any custom name we want for the dependencies. If no name is specified, then it could use the current pattern.

      1. TestMaven.rar
        2 kB
        Magno Machado Paulo

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Magno Machado Paulo
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development