Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.3.0
-
None
-
None
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
<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?