Author: erinnp
Date: Wed Jun 26 21:33:04 2013
New Revision: 1497114

URL: http://svn.apache.org/r1497114
Log:
requirejs optimizer integrated with maven build

Added:
    rave/branches/require/rave-portal-resources/src/main/resources/r.js
    
rave/branches/require/rave-portal-resources/src/main/resources/requireBuild.js
    
rave/branches/require/rave-portal-resources/src/main/webapp/static/script/requireConfig.js
      - copied, changed from r1496170, 
rave/branches/require/rave-portal-resources/src/main/webapp/static/script/app.js
Removed:
    
rave/branches/require/rave-portal-resources/src/main/webapp/static/script/app.js
Modified:
    rave/branches/require/rave-portal-resources/pom.xml
    
rave/branches/require/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_js.tag

Modified: rave/branches/require/rave-portal-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/rave/branches/require/rave-portal-resources/pom.xml?rev=1497114&r1=1497113&r2=1497114&view=diff
==============================================================================
--- rave/branches/require/rave-portal-resources/pom.xml (original)
+++ rave/branches/require/rave-portal-resources/pom.xml Wed Jun 26 21:33:04 2013
@@ -181,40 +181,40 @@
                 </configuration>
             </plugin>
             <!-- requirejs optimizer -->
-            <!--<plugin>-->
-                <!--<groupId>com.github.mcheely</groupId>-->
-                <!--<artifactId>requirejs-maven-plugin</artifactId>-->
-                <!--<version>2.0.0</version>-->
-                <!--<executions>-->
-                    <!--<execution>-->
-                        <!--<goals>-->
-                            <!--<goal>optimize</goal>-->
-                        <!--</goals>-->
-                    <!--</execution>-->
-                <!--</executions>-->
-                <!--<configuration>-->
-                    <!--&lt;!&ndash; path to optimizer json config file 
&ndash;&gt;-->
-                    <!--<configFile>-->
-                        <!--${basedir}/src/main/config/buildconfig.js-->
-                    <!--</configFile>-->
-                    <!--&lt;!&ndash; optional path to optimizer executable 
&ndash;&gt;-->
-                    <!--<optimizerFile>-->
-                        <!--${basedir}/src/main/scripts/r.js-->
-                    <!--</optimizerFile>-->
-                    <!--&lt;!&ndash;-->
-                    <!--Whether or not to process configFile with maven 
filters.-->
-                    <!--If you use this option, some options in your 
configFile-->
-                    <!--must resolve to absolute paths (see below)-->
-                    <!--&ndash;&gt;-->
-                    <!--<filterConfig>-->
-                        <!--true-->
-                    <!--</filterConfig>-->
-                    <!--&lt;!&ndash; Skip requirejs optimization if true 
&ndash;&gt;-->
-                    <!--<skip>-->
-                        <!--false-->
-                    <!--</skip>-->
-                <!--</configuration>-->
-            <!--</plugin>-->
+            <plugin>
+                <groupId>com.github.mcheely</groupId>
+                <artifactId>requirejs-maven-plugin</artifactId>
+                <version>2.0.0</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>optimize</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <!-- path to optimizer json config file -->
+                    <configFile>
+                        ${basedir}/src/main/resources/requireBuild.js
+                    </configFile>
+                    <!-- optional path to optimizer executable -->
+                    <optimizerFile>
+                        ${basedir}/src/main/resources/r.js
+                    </optimizerFile>
+                    <!--
+                    Whether or not to process configFile with maven filters.
+                    If you use this option, some options in your configFile
+                    must resolve to absolute paths (see below)
+                    -->
+                    <filterConfig>
+                        false
+                    </filterConfig>
+                    <!-- Skip requirejs optimization if true -->
+                    <skip>
+                        false
+                    </skip>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
     <profiles>


Reply via email to