summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-09-14 17:00:54 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-09-14 17:00:54 +0000
commit772bc30065601ebf49cf148a2c0bfbcbc22f10e1 (patch)
tree1c27551f985aabf0c81a16e16a1d8387504bee19 /sca-java-1.x
parentf83e5aa85897c109caee089ad5cf06237b860f01 (diff)
Add pom.xml file to samples directory of binary distribution (TUSCANY-3676)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@996988 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/bin.xml14
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/samples/pom-distribution.xml145
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/samples/pom.xml26
3 files changed, 183 insertions, 2 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/bin.xml b/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/bin.xml
index b554a703c0..a7f7d77332 100644
--- a/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/bin.xml
+++ b/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/bin.xml
@@ -101,6 +101,7 @@
<exclude>*/**/*.svg</exclude>
<!-- Sample specific work file/folders to exclude -->
<exclude>pom.xml</exclude>
+ <exclude>pom-distribution.xml</exclude>
<exclude>calculator-distributed/work</exclude>
<exclude>calculator-distributed/work/**/*</exclude>
<exclude>calculator-webapp/target/sample-calculator-webapp</exclude>
@@ -123,8 +124,6 @@
<exclude>feed-aggregator-webapp/target/sample-feed-aggregator-webapp</exclude>
<exclude>feed-aggregator-webapp/target/sample-feed-aggregator-webapp/**/*</exclude>
<exclude>feed-aggregator-webapp/target/war</exclude>
- <exclude>store-dojo</exclude>
- <exclude>store-dojo/**/*</exclude>
<exclude>store-webapp/target</exclude>
<exclude>store-webapp/target/**/*</exclude>
<exclude>helloworld-dojo-webapp/src/main/webapp/dojo</exclude>
@@ -227,6 +226,8 @@
<exclude>helloworld-ws-deep-webapp/work/**/*</exclude>
<exclude>helloworld-ws-service-webapp</exclude>
<exclude>helloworld-ws-service-webapp/**/*</exclude>
+ <exclude>store-dojo</exclude>
+ <exclude>store-dojo/**/*</exclude>
<exclude>zipcode-jaxws/</exclude>
<exclude>zipcode-jaxws/**/*</exclude>
</excludes>
@@ -377,6 +378,15 @@
</fileSet-->
</fileSets>
+ <files>
+ <!-- Add the subsetted distribution pom.xml to the samples directory -->
+ <file>
+ <source>../samples/pom-distribution.xml</source>
+ <outputDirectory>tuscany-sca-${tuscany.version}/samples</outputDirectory>
+ <destName>pom.xml</destName>
+ </file>
+ </files>
+
<dependencySets>
<!-- Add all the Tuscany modules to the modules directory -->
<dependencySet>
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/pom-distribution.xml b/sca-java-1.x/branches/sca-java-1.6.1/samples/pom-distribution.xml
new file mode 100644
index 0000000000..45c6fa858f
--- /dev/null
+++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/pom-distribution.xml
@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<project>
+ <!--
+ This pom-distribution.xml file is a modified version of the
+ pom.xml file in the samples directory of the svn source tree.
+ This file is used as the pom.xml for the samples directory of the
+ binary distribution. Any updates to the samples pom.xml in the
+ svn source tree must be applied to this pom-distribution.xml file
+ to keep the two files in sync (except where marked).
+
+ The samples directory of the binary distribution needs to contain
+ a pom.xml so that users can run "mvn eclipse:eclipse" to generate
+ Eclipse project files for all the samples. We can't just copy the
+ samples pom.xml from the svn source tree to the binary distribution
+ because there are 10 samples in the svn source tree (and the source
+ distribution) that aren't included in the binary distribution. This
+ mismatch is being tracked as issue TUSCANY-3678 and it should be
+ possible to remove this file when this issue is fixed.
+ -->
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca</artifactId>
+ <version>1.6.1-SNAPSHOT</version>
+ </parent>
+ <artifactId>tuscany-samples-distribution</artifactId>
+ <packaging>pom</packaging>
+ <name>Apache Tuscany SCA Samples in Binary Distribution</name>
+
+ <repositories>
+ <repository>
+ <id>apache.incubator</id>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ </repository>
+ </repositories>
+
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>binding-echo</module>
+ <module>binding-echo-extension</module>
+ <module>binding-notification-broker</module>
+ <module>binding-notification-consumer</module>
+ <module>binding-notification-producer</module>
+ <module>calculator</module>
+ <module>calculator-corba-reference</module>
+ <module>calculator-corba-service</module>
+ <!-- the following is excluded from pom-distribution.xml
+ <module>calculator-lean</module -->
+ <module>calculator-distributed</module>
+ <module>calculator-implementation-policies</module>
+ <module>calculator-rmi-reference</module>
+ <module>calculator-rmi-service</module>
+ <module>calculator-script</module>
+ <module>calculator-webapp</module>
+ <!-- the following is excluded from pom-distribution.xml
+ <module>calculator-ws-secure-webapp</module -->
+ <module>calculator-ws-webapp</module>
+ <module>callback-ws-client</module>
+ <module>callback-ws-service</module>
+ <module>callbacks-jms</module>
+ <module>chat-webapp</module>
+ <!-- the following is excluded from pom-distribution.xml
+ <module>customer-dojo</module -->
+ <!-- the following is excluded from pom-distribution.xml
+ <module>customer-dojo-webapp</module -->
+ <module>databinding-echo</module>
+ <!--module>domain-webapp</module-->
+ <module>domain-management</module>
+ <module>feed-aggregator</module>
+ <module>feed-aggregator-webapp</module>
+ <module>helloworld-bpel</module>
+ <module>helloworld-dojo-webapp</module>
+ <!-- the following is excluded from pom-distribution.xml
+ <module>helloworld-erlang-reference</module -->
+ <!-- the following is excluded from pom-distribution.xml
+ <module>helloworld-erlang-service</module -->
+ <!-- the following is excluded from pom-distribution.xml
+ <module>helloworld-jms-webapp</module -->
+ <module>helloworld-jsonrpc-webapp</module>
+ <module>helloworld-reference-jms</module>
+ <module>helloworld-service-jms</module>
+ <module>helloworld-ws-service</module>
+ <module>helloworld-ws-service-jms</module>
+ <module>helloworld-ws-service-secure</module>
+ <module>helloworld-ws-reference</module>
+ <!-- the following is excluded from pom-distribution.xml
+ <module>helloworld-ws-reference-lean</module -->
+ <module>helloworld-ws-reference-jms</module>
+ <module>helloworld-ws-reference-secure</module>
+ <module>helloworld-ws-sdo</module>
+ <module>helloworld-ws-sdo-webapp</module>
+ <module>holder-ws-service</module>
+ <module>implementation-composite</module>
+ <module>implementation-crud</module>
+ <module>implementation-crud-extension</module>
+ <module>implementation-notification</module>
+ <module>implementation-pojo-extension</module>
+ <!-- the following is excluded from pom-distribution.xml
+ <module>loanapplication</module -->
+ <module>osgi-supplychain</module>
+ <module>photo-gallery</module>
+ <module>quote-xquery</module>
+ <module>simple-bigbank</module>
+ <module>simple-bigbank-spring</module>
+ <module>spring-bigbank-checkaccount</module>
+ <module>spring-bigbank-calculator</module>
+ <module>spring-bigbank-stockquote</module>
+ <module>simple-callback</module>
+ <module>simple-callback-ws</module>
+ <module>store</module>
+ <!-- the following is excluded from pom-distribution.xml
+ <module>store-dojo</module -->
+ <module>store-webapp</module>
+ <module>store-secure</module>
+ <module>supplychain</module>
+ <module>web-resource</module>
+ <!--module>zipcode-jaxws</module-->
+ </modules>
+ </profile>
+ </profiles>
+
+</project>
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/pom.xml b/sca-java-1.x/branches/sca-java-1.6.1/samples/pom.xml
index 2706f84747..b6929745db 100644
--- a/sca-java-1.x/branches/sca-java-1.6.1/samples/pom.xml
+++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/pom.xml
@@ -18,6 +18,22 @@
* under the License.
-->
<project>
+ <!--
+ The pom-distribution.xml file in this directory is a modified version
+ of this pom.xml file and is used as the pom.xml for the samples
+ directory of the binary distribution. Any updates to this pom.xml
+ file must be applied to pom-distribution.xml to keep the two files
+ in sync (except where marked).
+
+ The samples directory of the binary distribution needs to contain
+ a pom.xml so that users can run "mvn eclipse:eclipse" to generate
+ Eclipse project files for all the samples. We can't just copy the
+ samples pom.xml from the svn source tree to the binary distribution
+ because there are 10 samples in the svn source tree (and the source
+ distribution) that aren't included in the binary distribution. This
+ mismatch is being tracked as issue TUSCANY-3678 and it should be
+ possible to remove pom-distribution.xml when this issue is fixed.
+ -->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.tuscany.sca</groupId>
@@ -51,6 +67,7 @@
<module>calculator</module>
<module>calculator-corba-reference</module>
<module>calculator-corba-service</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>calculator-lean</module>
<module>calculator-distributed</module>
<module>calculator-implementation-policies</module>
@@ -58,13 +75,16 @@
<module>calculator-rmi-service</module>
<module>calculator-script</module>
<module>calculator-webapp</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>calculator-ws-secure-webapp</module>
<module>calculator-ws-webapp</module>
<module>callback-ws-client</module>
<module>callback-ws-service</module>
<module>callbacks-jms</module>
<module>chat-webapp</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>customer-dojo</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>customer-dojo-webapp</module>
<module>databinding-echo</module>
<!--module>domain-webapp</module-->
@@ -73,8 +93,11 @@
<module>feed-aggregator-webapp</module>
<module>helloworld-bpel</module>
<module>helloworld-dojo-webapp</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>helloworld-erlang-reference</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>helloworld-erlang-service</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>helloworld-jms-webapp</module>
<module>helloworld-jsonrpc-webapp</module>
<module>helloworld-reference-jms</module>
@@ -83,6 +106,7 @@
<module>helloworld-ws-service-jms</module>
<module>helloworld-ws-service-secure</module>
<module>helloworld-ws-reference</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>helloworld-ws-reference-lean</module>
<module>helloworld-ws-reference-jms</module>
<module>helloworld-ws-reference-secure</module>
@@ -94,6 +118,7 @@
<module>implementation-crud-extension</module>
<module>implementation-notification</module>
<module>implementation-pojo-extension</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>loanapplication</module>
<module>osgi-supplychain</module>
<module>photo-gallery</module>
@@ -106,6 +131,7 @@
<module>simple-callback</module>
<module>simple-callback-ws</module>
<module>store</module>
+ <!-- the following is excluded from pom-distribution.xml -->
<module>store-dojo</module>
<module>store-webapp</module>
<module>store-secure</module>