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

WAR plugin erases files written by YUICompressor plugin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We use at XWiki both YUI Compressor Plugin (https://davidb.github.io/yuicompressor-maven-plugin) and WAR Plugin in some of our modules and we noticed a regression after upgrading WAR Plugin from 3.2.3 to 3.3.0: the files written by YUI Compressor are not yet available in the created war.

      Reproduction step:

      • Create a Maven module with both YUICompressor and Maven WAR Plugin and a javascript file named test.js
      • Execute mvn clean package

      Expected result:

      • Both test.js and test-min.js are available in the created WAR

      Obtained result:

      • Only test.js is present

      I suspect this regression to be related with the fix of MWAR-427. Note that the default path for YUI Compressor is documented on https://davidb.github.io/yuicompressor-maven-plugin/compress-mojo.html#webappDirectory

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                surli Simon Urli
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: