Author: nash
Date: Thu Feb 25 10:39:21 2010
New Revision: 916232

URL: http://svn.apache.org/viewvc?rev=916232&view=rev
Log:
Exclude *.cbp files from payment-bpel-process contribution jar

Modified:
    tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml
    
tuscany/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml

Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml?rev=916232&r1=916231&r2=916232&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml (original)
+++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml Thu Feb 25 
10:39:21 2010
@@ -416,7 +416,8 @@
             <include name="tuscany-sca-api-*.jar"/>
             <exclude name="tuscany-sca-api-extension-*.jar"/>
         </fileset>
-        <war destfile="target/${ant.project.name}.war" 
webxml="src/main/webapp/WEB-INF/web.xml">
+        <war destfile="target/${ant.project.name}.war" 
webxml="src/main/webapp/WEB-INF/web.xml"
+             excludes="**/*.cbp">
             <fileset dir="src/main/webapp"/>
             <lib refid="#tuscanyjars"/>
             <classes dir="target/classes"/>
@@ -444,7 +445,8 @@
         <pathconvert property="#package-classpath" refid="package-path" 
pathsep=" " dirsep="/">
             <map from="${#parentdir}" to="../.."/>
         </pathconvert>
-        <jar destfile="target/${ant.project.name}.jar" 
basedir="target/classes">
+        <jar destfile="target/${ant.project.name}.jar" basedir="target/classes"
+             excludes="**/*.cbp">
             <manifest>
                 <attribute name="Class-Path" value="${#package-classpath}"/>
             </manifest>
@@ -453,7 +455,8 @@
 
     <!-- create a jar file without a Class-Path attribute -->
     <target name="#create-jar-nopath" unless="#package-path">
-        <jar destfile="target/${ant.project.name}.jar" 
basedir="target/classes"/>
+        <jar destfile="target/${ant.project.name}.jar" basedir="target/classes"
+             excludes="**/*.cbp"/>
     </target>
 
     <!-- create a jar file with or without a Class-Path attribute -->

Modified: 
tuscany/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml?rev=916232&r1=916231&r2=916232&view=diff
==============================================================================
--- 
tuscany/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml
 (original)
+++ 
tuscany/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml
 Thu Feb 25 10:39:21 2010
@@ -31,5 +31,17 @@
 
     <build>
         <finalName>${artifactId}</finalName>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>2.2</version>
+                <configuration>
+                    <excludes>
+                        <exclude>**/*.cbp</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>              
     </build>
 </project>


Reply via email to