Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-211

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • 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.

      Attachments

        1. TestMaven.rar
          2 kB
          Magno Machado Paulo

        Issue Links

          Activity

            People

              Unassigned Unassigned
              magnomp Magno Machado Paulo
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: