Title: [1067] sandbox/jbehave-web/examples/trader-web/pom.xml: Added js resources, which had been missed as cached by browser.
Revision
1067
Author
mauro
Date
2009-02-08 10:20:34 -0600 (Sun, 08 Feb 2009)

Log Message

Added js resources, which had been missed as cached by browser.

Modified Paths


Diff

Modified: sandbox/jbehave-web/examples/trader-web/pom.xml (1066 => 1067)

--- sandbox/jbehave-web/examples/trader-web/pom.xml	2009-02-08 13:47:11 UTC (rev 1066)
+++ sandbox/jbehave-web/examples/trader-web/pom.xml	2009-02-08 16:20:34 UTC (rev 1067)
@@ -40,7 +40,7 @@
               <outputDirectory>${project.build.directory}/waffle-webapp</outputDirectory>
               <overWriteReleases>true</overWriteReleases>
               <overWriteSnapshots>true</overWriteSnapshots>
-              <includes>**\/*.css,**\/*.ftl,**\/*.jsp,**\/*.xml</includes>
+              <includes>**\/*.css,**\/*.ftl,**\/*.js,**\/*.jsp,**\/*.xml</includes>
               <excludes></excludes>
               <artifactItems>
                 <artifactItem>
@@ -51,6 +51,25 @@
               </artifactItems>
             </configuration>
           </execution>
+          <execution>
+            <id>unpack-waffle-resources</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${project.build.directory}/waffle-webapp</outputDirectory>
+              <overWriteReleases>false</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.codehaus.waffle</groupId>
+                  <artifactId>waffle-resources</artifactId>
+                  <version>1.3</version>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>
@@ -72,6 +91,7 @@
                   <includes>
                     <include>**\/*.css</include>
                     <include>**\/*.ftl</include>
+                    <include>**\/*.js</include>
                     <include>**\/*.jsp</include>
                     <include>**\/*.xml</include>
                   </includes>


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to