summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/tutorials
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x/trunk/tutorials')
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml9
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml12
2 files changed, 18 insertions, 3 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml b/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml
index caac4c6116..9d918970d0 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml
+++ b/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml
@@ -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 -->
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml
index 20e2520568..4bd900239c 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml
+++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml
@@ -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>