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

Excludes configuration parameter not working for WEB-INF/lib

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • None
    • None

    Description

      For a project I need to build a war without the dependencies in the WEB-INF/lib, but with the runtime jar's named in the manifest. Before the 2.0 release (2.0-beta-2) I managed this by adding "*/lib/.jar" to the excludes configuration parameter. The 2.0 release breaks this functionality, which i think should just work fine according the documentation.
      Diff taken from /maven/plugins/trunk/maven-war-plugin.

      Attachments

        1. patch-war-exclude2.txt
          0.7 kB
          Robert Watts
        2. excludes-patch.txt
          0.7 kB
          Mark Holster

        Issue Links

          Activity

            People

              mperham Mike Perham
              markholster Mark Holster
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: