[ 
https://issues.apache.org/jira/browse/SHINDIG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569704#action_12569704
 ] 

Paul Lindner commented on SHINDIG-52:
-------------------------------------

It was quite easy to set up YUIcompressor

http://alchim.sourceforge.net/yuicompressor-maven-plugin/

Index: java/gadgets/pom.xml
===================================================================
--- java/gadgets/pom.xml        (revision 628435)
+++ java/gadgets/pom.xml        (working copy)
@@ -102,6 +102,22 @@
         <groupId>org.mortbay.jetty</groupId>
         <artifactId>maven-jetty-plugin</artifactId>
       </plugin>
+      <plugin>
+        <groupId>net.sf.alchim</groupId>
+        <artifactId>yuicompressor-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>compress</goal>
+            </goals>
+          </execution>
+        </executions>        
+        <configuration>
+          <nosuffix>true</nosuffix>
+        </configuration>
+
+      </plugin>
+
     </plugins>
     <resources>
       <resource>

This only does stuff in the features directory, not the container files, but 
it's a start...


> Use Maven Javascript Plugin to enable better builds
> ---------------------------------------------------
>
>                 Key: SHINDIG-52
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-52
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Gadgets Server - Java
>            Reporter: Paul Lindner
>            Assignee: Kevin Brown
>
> It would be great if the maven build process could incorporate the Javascript 
> plugin mentioned here:
> http://hammerfest.sourceforge.net/maven-javascript-plugin/
> I'll have a look at how difficult it is to enable this.  It would be nice to 
> have minified javascript and multiple files combined into a single 
> compilation unit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to