Author: nbelaevski
Date: 2010-05-17 09:40:59 -0400 (Mon, 17 May 2010)
New Revision: 17079
Removed:
root/core/trunk/impl/src/main/javascript/
Modified:
root/core/trunk/impl/pom.xml
Log:
https://jira.jboss.org/browse/RFPL-596
Modified: root/core/trunk/impl/pom.xml
===================================================================
--- root/core/trunk/impl/pom.xml 2010-05-17 13:38:00 UTC (rev 17078)
+++ root/core/trunk/impl/pom.xml 2010-05-17 13:40:59 UTC (rev 17079)
@@ -133,14 +133,6 @@
</dependencies>
<build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <directory>target/javascript</directory>
- </resource>
- </resources>
<plugins>
<!-- Trigger checkstyle checking for this module -->
@@ -174,100 +166,6 @@
</execution>
</executions>
</plugin>
-
- <!--
- The following 2 plugins are specific to impl, and
- create, process, and document JavaScript resources NOTE:
- these are legacy and they and the resources they
- reference can be removed
- -->
- <plugin>
- <!-- Configure ant scripts to generate javascript -->
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>javascript</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <ant
antfile="${basedir}/generatescript.xml"
- inheritRefs="true">
- <target name="assembly" />
- <property name="target-dir"
-
value="${project.build.directory}/javascript" />
- </ant>
- </tasks>
-
<resourceRoot>${project.build.directory}/javascript</resourceRoot>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- Configure csk maven plugin to process javascript -->
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-javascript-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>compress</goal>
- </goals>
- <configuration>
- <nosuffix>false</nosuffix>
-
<outputDirectory>${project.build.directory}/compressed/</outputDirectory>
- <aggregations>
- <aggregation>
- <insertNewLine>true</insertNewLine>
-
<output>${project.build.outputDirectory}/org/ajax4jsf/framework.pack.js</output>
- <includes>
-
<include>${project.build.directory}/compressed/org/ajax4jsf/javascript/scripts/prototype-min.js</include>
-
<include>${project.build.directory}/compressed/org/ajax4jsf/javascript/scripts/AJAX-min.js</include>
-
<include>${project.build.directory}/compressed/org/richfaces/renderkit/html/scripts/scriptaculous/scriptaculous-min.js</include>
-
<include>${project.build.directory}/compressed/org/richfaces/renderkit/html/scripts/jquery/jquery-min.js</include>
-
<include>${project.build.directory}/compressed/org/richfaces/renderkit/html/scripts/jquery.utils-min.js</include>
-
<include>${project.build.directory}/compressed/org/ajax4jsf/javascript/scripts/dnd-min.js</include>
- <include>**/*-min.js</include>
- </includes>
- <excludes>
- <exclude>**/*.pack.js</exclude>
-
<exclude>**/scriptaculous/*.js</exclude>
- <exclude>**/extend-min.js</exclude>
-
<exclude>**/jquery.jcarousel-min.js</exclude>
- <exclude>**/compressed.css</exclude>
- </excludes>
- </aggregation>
- </aggregations>
- <resources>
- <resource>
- <directory>target/javascript</directory>
- </resource>
- <resource>
-
<directory>src/main/resources</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- <execution>
- <id>jslint</id>
- <phase>test</phase>
- <goals>
- <goal>jslint</goal>
- </goals>
- <configuration>
- <includes>
- <include>**/framework.pack.js</include>
- </includes>
- <resources>
- <resource>
-
<directory>${project.build.outputDirectory}</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>