You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Simon Urli (Jira)" <ji...@apache.org> on 2020/07/10 13:24:00 UTC

[jira] [Created] (MWAR-437) WAR plugin erases files written by YUICompressor plugin

Simon Urli created MWAR-437:
-------------------------------

             Summary: WAR plugin erases files written by YUICompressor plugin
                 Key: MWAR-437
                 URL: https://issues.apache.org/jira/browse/MWAR-437
             Project: Maven WAR Plugin
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Simon Urli


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)