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

[jira] [Comment Edited] (MWAR-435) Maven WAR Plugin 3.3.0 with minify-maven-plugin does not work correctly anymore

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

Kyle Lieber edited comment on MWAR-435 at 6/12/20, 1:45 PM:
------------------------------------------------------------

I think this is a duplicate of MWAR-433


was (Author: klieber):
I think this is a duplicate of MWAR-435

> Maven WAR Plugin 3.3.0 with minify-maven-plugin does not work correctly anymore
> -------------------------------------------------------------------------------
>
>                 Key: MWAR-435
>                 URL: https://issues.apache.org/jira/browse/MWAR-435
>             Project: Maven WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Alexander Bouriakov
>            Priority: Major
>
> com.samaxes.maven:minify-maven-plugin generates files in the war output folder, which must be included into the WAR file.
> But, these files are deleted (probably) because of this change: [https://github.com/apache/maven-war-plugin/commit/58feb482198a33c1ea1b50632c158dc1d3f72044/]
> Example configuration of the minify-maven-plugin
>  
>  <plugin>
>  <groupId>com.samaxes.maven</groupId>
>  <artifactId>minify-maven-plugin</artifactId>
>  <executions>
>  <execution>
>  <id>default-minify</id>
>  <configuration>
>  <charset>UTF-8</charset>
>  <jsSourceDir>reporting-static</jsSourceDir>
>  <jsSourceFiles>
>  <jsSourceFile>reports/uiHelper.js</jsSourceFile>
>  <!-- ... -->
>  </jsSourceFiles>
>  <jsFinalFile>reporting.js</jsFinalFile>
>  <jsEngine>CLOSURE</jsEngine>
>  </configuration>
>  <goals>
>  <goal>minify</goal>
>  </goals>
>  </execution>
>  </executions>
>  </plugin>
>  
> Could you please have a look?



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