[
https://issues.apache.org/jira/browse/MWAR-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MWAR-435:
-------------------------------
Description:
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
{code:xml} <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>{code}
Could you please have a look?
was:
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?
> 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
>
> {code:xml} <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>{code}
>
> Could you please have a look?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)