Author: abelevich
Date: 2009-05-06 07:43:54 -0400 (Wed, 06 May 2009)
New Revision: 14029
Modified:
trunk/sandbox/samples/maven-rd-plugin-sample/pom.xml
Log:
Modified: trunk/sandbox/samples/maven-rd-plugin-sample/pom.xml
===================================================================
--- trunk/sandbox/samples/maven-rd-plugin-sample/pom.xml 2009-05-06 11:43:25 UTC (rev
14028)
+++ trunk/sandbox/samples/maven-rd-plugin-sample/pom.xml 2009-05-06 11:43:54 UTC (rev
14029)
@@ -10,6 +10,15 @@
<packaging>war</packaging>
<name>maven-rd-plugin-sample Maven Webapp</name>
<version>3.3.1-SNAPSHOT</version>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>jboss central</id>
+ <name>Maven Plugin Repository</name>
+ <
url>http://repository.jboss.org/maven2</url>
+ </pluginRepository>
+ </pluginRepositories>
+
<build>
<finalName>maven-rd-plugin-sample</finalName>
<plugins>
@@ -20,45 +29,23 @@
<target>1.5</target>
</configuration>
</plugin>
+
<plugin>
<artifactId>maven-resource-dependency-plugin</artifactId>
<groupId>org.richfaces.cdk</groupId>
<version>3.3.1-SNAPSHOT</version>
<configuration>
- <webSourceDirectory>${basedir}/src/main/webapp</webSourceDirectory>
-
- <beforeScriptIncludes>
- <beforeScriptInclude>foo/scripts/before.js</beforeScriptInclude>
- <beforeScriptInclude>scripts/test/test.js</beforeScriptInclude>
- </beforeScriptIncludes>
-
- <afterScriptIncludes>
- <afterScriptInclude>foo/scripts/after.js</afterScriptInclude>
- </afterScriptIncludes>
-
- <beforeStyleIncludes>
- <beforeStyleInclude>foo/styles/before.xcss</beforeStyleInclude>
- <beforeStyleInclude>foo/styles/before.css</beforeStyleInclude>
- </beforeStyleIncludes>
-
- <afterStyleIncludes>
- <afterStyleInclude>foo/styles/after.xcss</afterStyleInclude>
- <afterStyleInclude>foo/styles/after.css</afterStyleInclude>
- </afterStyleIncludes>
-
- <namespaceExcludes>
- <
namespaceExclude>http://richfaces.org/a4j</namespaceExclude>
- </namespaceExcludes>
-
- </configuration>
+ <scriptFilePath>styles/all.js</scriptFilePath>
+ <styleFilePath>scripts/all.xcss</styleFilePath>
+ </configuration>
<executions>
<execution>
- <phase>process-resources</phase>
+ <phase>generate-resources</phase>
<goals>
<goal>assembly-resources</goal>
</goals>
</execution>
- </executions>
+ </executions>
</plugin>
</plugins>
</build>