File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/main/java/com/samaxes/maven/minify/plugin Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 7878 <executions >
7979 <execution >
8080 <id >default-minify</id >
81- <phase >process-resources </phase >
81+ <phase >package </phase >
8282 <configuration >
8383 <charset >utf-8</charset >
8484 <jsEngine >closure</jsEngine >
Original file line number Diff line number Diff line change @@ -152,7 +152,10 @@ public class MinifyMojo extends AbstractMojo {
152152
153153 /**
154154 * Do not append a suffix to the minified output filename, independently of the value in the <code>suffix</code>
155- * parameter.
155+ * parameter.<br/>
156+ * <strong>Warning:</strong> when both the options <code>nosuffix</code> and <code>skipMerge</code> are set to
157+ * <code>true</code>, the plugin execution phase needs to be set to <code>package</code>, otherwise the output files
158+ * will be overridden by the source files during the packaging.
156159 *
157160 * @parameter expression="${nosuffix}" default-value="false"
158161 * @since 1.6.2
You can’t perform that action at this time.
0 commit comments