diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-25 10:39:21 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-25 10:39:21 +0000 |
commit | 5df9fece70bc1baffaba425f1539647336338eaa (patch) | |
tree | c15b137256f196c1d339089d15982bbcbbff9160 | |
parent | af825cddfe8e58a86646f6a397a34785388c507c (diff) |
Exclude *.cbp files from payment-bpel-process contribution jar
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916232 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml | 9 | ||||
-rw-r--r-- | sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml | 12 |
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>
|