commit | 7b83d0ddf48fe8aa589d5144c10cc9b6a4e3d0a2 | [log] [tgz] |
---|---|---|
author | Matthias Wessendorf <matzew@apache.org> | Wed Sep 01 16:28:16 2010 +0000 |
committer | Matthias Wessendorf <matzew@apache.org> | Wed Sep 01 16:28:16 2010 +0000 |
tree | 42831838e504b3bf7ceda70a11db5b3e225f7a17 | |
parent | acdc11564d7ee951716d3674c6c56e76f5d4167e [diff] |
revert ReduceJS change from rev 991591.
diff --git a/maven-javascript-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/javascript/ReduceJavascriptMojo.java b/maven-javascript-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/javascript/ReduceJavascriptMojo.java index 35e194d..8cbe440 100644 --- a/maven-javascript-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/javascript/ReduceJavascriptMojo.java +++ b/maven-javascript-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/javascript/ReduceJavascriptMojo.java
@@ -55,10 +55,7 @@ { Resource resource = new Resource(); resource.setDirectory(targetDirectory.getCanonicalPath()); - if (!this.addResource) - { - project.addResource(resource); - } + project.addResource(resource); // TODO: switch Optimized, not Debug, to be the special-case // so that Debug can be processed as ordinary resource copy @@ -165,8 +162,4 @@ */ private String optimizeTargetPath; - /** - * @parameter - */ - private boolean addResource; }