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

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

    [ https://issues.apache.org/jira/browse/MWAR-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159013#comment-17159013 ] 

Thomas Mortagne commented on MWAR-437:
--------------------------------------

I think this is a duplicate of MWAR-433.

> 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
>            Priority: Major
>
> 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)