[gatein-commits] gatein SVN: r4656 - in components/pc/trunk/samples: src/assemble and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Oct 13 13:47:28 EDT 2010


Author: chris.laprun at jboss.com
Date: 2010-10-13 13:47:28 -0400 (Wed, 13 Oct 2010)
New Revision: 4656

Added:
   components/pc/trunk/samples/src/assemble/samples-shoppingcart-event-jar.xml
Modified:
   components/pc/trunk/samples/pom.xml
Log:
- Create a separate jar for the event class so that it can be deployed in the consumer deploy directory so that the event can properly be unmarshalled on the consumer in the WSRP scenario.

Modified: components/pc/trunk/samples/pom.xml
===================================================================
--- components/pc/trunk/samples/pom.xml	2010-10-13 13:59:23 UTC (rev 4655)
+++ components/pc/trunk/samples/pom.xml	2010-10-13 17:47:28 UTC (rev 4656)
@@ -1,4 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <parent>
       <groupId>org.gatein.pc</groupId>
       <artifactId>pc-parent</artifactId>
@@ -33,6 +34,7 @@
                <descriptors>
                   <descriptor>src/assemble/samples-basic-portlet.xml</descriptor>
                   <descriptor>src/assemble/samples-shoppingcart-portlet.xml</descriptor>
+                  <descriptor>src/assemble/samples-shoppingcart-event-jar.xml</descriptor>
                   <descriptor>src/assemble/samples-google-portlet.xml</descriptor>
                   <descriptor>src/assemble/samples-remotecontroller-portlet.xml</descriptor>
                   <descriptor>src/assemble/samples-jsp-portlet.xml</descriptor>

Added: components/pc/trunk/samples/src/assemble/samples-shoppingcart-event-jar.xml
===================================================================
--- components/pc/trunk/samples/src/assemble/samples-shoppingcart-event-jar.xml	                        (rev 0)
+++ components/pc/trunk/samples/src/assemble/samples-shoppingcart-event-jar.xml	2010-10-13 17:47:28 UTC (rev 4656)
@@ -0,0 +1,18 @@
+<assembly>
+   <id>shoppingcart-event</id>
+   <formats>
+      <format>jar</format>
+   </formats>
+   <includeBaseDirectory>false</includeBaseDirectory>
+
+   <fileSets>
+      <fileSet>
+         <directory>target/classes</directory>
+         <outputDirectory></outputDirectory>
+         <includes>
+            <include>org/gatein/pc/samples/shoppingcart/CartEvent.*</include>
+         </includes>
+      </fileSet>
+   </fileSets>
+
+</assembly>
\ No newline at end of file



More information about the gatein-commits mailing list