diff --git a/demo/pom.xml b/demo/pom.xml index 35d4e89c..dfeb0901 100644 --- a/demo/pom.xml +++ b/demo/pom.xml @@ -78,7 +78,7 @@ default-minify - process-resources + package utf-8 closure diff --git a/src/main/java/com/samaxes/maven/minify/plugin/MinifyMojo.java b/src/main/java/com/samaxes/maven/minify/plugin/MinifyMojo.java index fda63f6a..a99e8514 100644 --- a/src/main/java/com/samaxes/maven/minify/plugin/MinifyMojo.java +++ b/src/main/java/com/samaxes/maven/minify/plugin/MinifyMojo.java @@ -152,7 +152,10 @@ public class MinifyMojo extends AbstractMojo { /** * Do not append a suffix to the minified output filename, independently of the value in the suffix - * parameter. + * parameter.
+ * Warning: when both the options nosuffix and skipMerge are set to + * true, the plugin execution phase needs to be set to package, otherwise the output files + * will be overridden by the source files during the packaging. * * @parameter expression="${nosuffix}" default-value="false" * @since 1.6.2