summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-10-26 23:36:54 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-10-26 23:36:54 +0000
commit3c908c16d224e5c7d84b01e9662f7104bd546eeb (patch)
tree28ae7ebdbca92ad7c900ce65646250d15b2119b2 /sandbox/travelsample
parentce7474138d1b4596137ebc9141f0949c470c3a85 (diff)
Add Main-Class and Class-Path to the MF so that we can run the clients, services and launchers using java -jar
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@830020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample')
-rw-r--r--sandbox/travelsample/clients/currency-converter-corba/pom.xml14
-rw-r--r--sandbox/travelsample/clients/currency-converter-jms/pom.xml16
-rw-r--r--sandbox/travelsample/clients/currency-converter-rmi/pom.xml16
-rw-r--r--sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml15
-rw-r--r--sandbox/travelsample/contributions/payment-java-policy/pom.xml3
-rw-r--r--sandbox/travelsample/contributions/payment-java/pom.xml3
-rw-r--r--sandbox/travelsample/launchers/blog-feed/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/currency-converter-corba/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/currency-converter-jms/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/currency-converter-rmi/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/currency-converter-ws/pom.xml25
-rw-r--r--sandbox/travelsample/launchers/currency-converter/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/databinding/pom.xml31
-rw-r--r--sandbox/travelsample/launchers/feed-logger/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/fullapp-domain/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/fullapp-nodes/pom.xml18
-rw-r--r--sandbox/travelsample/launchers/fullapp/pom.xml19
-rw-r--r--sandbox/travelsample/launchers/help-pages/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/interaction/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/introducing-client/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/introducing-domain/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/introducing/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/jumpstart/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/notification-corba/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/notification-ejb/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/notification-jms/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/notification-rmi/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/notification-ws/pom.xml16
-rw-r--r--sandbox/travelsample/launchers/policy/pom.xml16
-rw-r--r--sandbox/travelsample/services/creditcard-payment-jaxws/pom.xml16
-rw-r--r--sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java9
-rw-r--r--sandbox/travelsample/services/smsgateway-corba/pom.xml14
-rw-r--r--sandbox/travelsample/services/smsgateway-ejb/pom.xml20
-rw-r--r--sandbox/travelsample/services/smsgateway-jaxws/pom.xml16
-rw-r--r--sandbox/travelsample/services/smsgateway-jaxws/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayServiceBootstrap.java8
-rw-r--r--sandbox/travelsample/services/smsgateway-jms/pom.xml16
-rw-r--r--sandbox/travelsample/services/smsgateway-rmi/pom.xml16
37 files changed, 554 insertions, 25 deletions
diff --git a/sandbox/travelsample/clients/currency-converter-corba/pom.xml b/sandbox/travelsample/clients/currency-converter-corba/pom.xml
index e124ce1272..c6892c86bf 100644
--- a/sandbox/travelsample/clients/currency-converter-corba/pom.xml
+++ b/sandbox/travelsample/clients/currency-converter-corba/pom.xml
@@ -42,6 +42,20 @@
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterCORBAClient</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>idlj-maven-plugin</artifactId>
<version>1.1</version>
diff --git a/sandbox/travelsample/clients/currency-converter-jms/pom.xml b/sandbox/travelsample/clients/currency-converter-jms/pom.xml
index 5349e9cd2d..a10464650a 100644
--- a/sandbox/travelsample/clients/currency-converter-jms/pom.xml
+++ b/sandbox/travelsample/clients/currency-converter-jms/pom.xml
@@ -85,5 +85,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterJMSClient</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/clients/currency-converter-rmi/pom.xml b/sandbox/travelsample/clients/currency-converter-rmi/pom.xml
index ab29b6ab8f..646499a1c8 100644
--- a/sandbox/travelsample/clients/currency-converter-rmi/pom.xml
+++ b/sandbox/travelsample/clients/currency-converter-rmi/pom.xml
@@ -39,5 +39,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterRMIClient</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml b/sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml
index eb7a33583c..3e388cc5cf 100644
--- a/sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml
+++ b/sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml
@@ -54,6 +54,21 @@
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterWSClient</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>1.12</version>
diff --git a/sandbox/travelsample/contributions/payment-java-policy/pom.xml b/sandbox/travelsample/contributions/payment-java-policy/pom.xml
index 138c8d945d..1b15745c44 100644
--- a/sandbox/travelsample/contributions/payment-java-policy/pom.xml
+++ b/sandbox/travelsample/contributions/payment-java-policy/pom.xml
@@ -71,13 +71,14 @@
<scope>runtime</scope>
</dependency>
+<!--
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction</artifactId>
<version>1.6-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
-
+-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
diff --git a/sandbox/travelsample/contributions/payment-java/pom.xml b/sandbox/travelsample/contributions/payment-java/pom.xml
index 9589f2eaf8..4c2dd69a37 100644
--- a/sandbox/travelsample/contributions/payment-java/pom.xml
+++ b/sandbox/travelsample/contributions/payment-java/pom.xml
@@ -71,13 +71,14 @@
<scope>runtime</scope>
</dependency>
+<!--
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction</artifactId>
<version>1.6-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
-
+-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
diff --git a/sandbox/travelsample/launchers/blog-feed/pom.xml b/sandbox/travelsample/launchers/blog-feed/pom.xml
index c0970e3e22..b2a49570d9 100644
--- a/sandbox/travelsample/launchers/blog-feed/pom.xml
+++ b/sandbox/travelsample/launchers/blog-feed/pom.xml
@@ -72,5 +72,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.BlogFeedLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/currency-converter-corba/pom.xml b/sandbox/travelsample/launchers/currency-converter-corba/pom.xml
index 34219adf15..4b53cd2d74 100644
--- a/sandbox/travelsample/launchers/currency-converter-corba/pom.xml
+++ b/sandbox/travelsample/launchers/currency-converter-corba/pom.xml
@@ -73,5 +73,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterCORBALauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/currency-converter-jms/pom.xml b/sandbox/travelsample/launchers/currency-converter-jms/pom.xml
index b06f2951d6..8684156e95 100644
--- a/sandbox/travelsample/launchers/currency-converter-jms/pom.xml
+++ b/sandbox/travelsample/launchers/currency-converter-jms/pom.xml
@@ -84,5 +84,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterJMSLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/currency-converter-rmi/pom.xml b/sandbox/travelsample/launchers/currency-converter-rmi/pom.xml
index 19375335de..4073bc9528 100644
--- a/sandbox/travelsample/launchers/currency-converter-rmi/pom.xml
+++ b/sandbox/travelsample/launchers/currency-converter-rmi/pom.xml
@@ -80,5 +80,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterRMILauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/currency-converter-ws/pom.xml b/sandbox/travelsample/launchers/currency-converter-ws/pom.xml
index d2830d78a0..3f0ee48512 100644
--- a/sandbox/travelsample/launchers/currency-converter-ws/pom.xml
+++ b/sandbox/travelsample/launchers/currency-converter-ws/pom.xml
@@ -24,7 +24,8 @@
<artifactId>tuscany-sca</artifactId>
<version>1.6-SNAPSHOT</version>
<!--relativePath>../../pom.xml</relativePath-->
- </parent><version>1.0-SNAPSHOT</version>
+ </parent>
+ <version>1.0-SNAPSHOT</version>
<artifactId>scatours-launcher-currency-converter-ws</artifactId>
<name>Apache Tuscany SCA Tours Currency Converter Web Service Launcher</name>
@@ -61,7 +62,7 @@
<artifactId>tuscany-host-tomcat</artifactId>
<version>1.6-SNAPSHOT</version>
<scope>runtime</scope>
- </dependency>
+ </dependency>
<dependency>
<groupId>junit</groupId>
@@ -70,8 +71,24 @@
<scope>test</scope>
</dependency>
</dependencies>
-
+
<build>
- <finalName>${artifactId}</finalName>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterWSLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/currency-converter/pom.xml b/sandbox/travelsample/launchers/currency-converter/pom.xml
index 5792c778a9..ecc6ec75f1 100644
--- a/sandbox/travelsample/launchers/currency-converter/pom.xml
+++ b/sandbox/travelsample/launchers/currency-converter/pom.xml
@@ -59,5 +59,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.CurrencyConverterLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/databinding/pom.xml b/sandbox/travelsample/launchers/databinding/pom.xml
index 8d86f71730..76a0d3524e 100644
--- a/sandbox/travelsample/launchers/databinding/pom.xml
+++ b/sandbox/travelsample/launchers/databinding/pom.xml
@@ -24,17 +24,18 @@
<artifactId>tuscany-sca</artifactId>
<version>1.6-SNAPSHOT</version>
<!--relativePath>../../pom.xml</relativePath-->
- </parent><version>1.0-SNAPSHOT</version>
+ </parent>
+ <version>1.0-SNAPSHOT</version>
<artifactId>scatours-launcher-databinding</artifactId>
<name>Apache Tuscany SCA Tours Databinding Launcher</name>
<dependencies>
- <dependency>
+ <dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
<version>1.6-SNAPSHOT</version>
</dependency>
-
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-launcher</artifactId>
@@ -124,13 +125,13 @@
<version>1.6-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
-
+
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-implementation-bpel-ode</artifactId>
<version>1.6-SNAPSHOT</version>
<scope>runtime</scope>
- </dependency>
+ </dependency>
<dependency>
<groupId>org.apache.derby</groupId>
@@ -140,8 +141,24 @@
</dependency>
</dependencies>
-
+
<build>
- <finalName>${artifactId}</finalName>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.DatabindingLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/feed-logger/pom.xml b/sandbox/travelsample/launchers/feed-logger/pom.xml
index 1935d18f00..53fad2ff0e 100644
--- a/sandbox/travelsample/launchers/feed-logger/pom.xml
+++ b/sandbox/travelsample/launchers/feed-logger/pom.xml
@@ -73,5 +73,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.FeedLoggerLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/fullapp-domain/pom.xml b/sandbox/travelsample/launchers/fullapp-domain/pom.xml
index b9c343a523..f96814b964 100644
--- a/sandbox/travelsample/launchers/fullapp-domain/pom.xml
+++ b/sandbox/travelsample/launchers/fullapp-domain/pom.xml
@@ -88,6 +88,22 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>org.apache.tuscany.sca.node.launcher.DomainManagerLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/fullapp-nodes/pom.xml b/sandbox/travelsample/launchers/fullapp-nodes/pom.xml
index 0c7018a06e..c848ed7dfa 100644
--- a/sandbox/travelsample/launchers/fullapp-nodes/pom.xml
+++ b/sandbox/travelsample/launchers/fullapp-nodes/pom.xml
@@ -172,12 +172,14 @@
<scope>runtime</scope>
</dependency>
+<!--
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction</artifactId>
<version>1.6-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
+-->
<dependency>
<groupId>org.apache.derby</groupId>
@@ -190,5 +192,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.FullAppNodesLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/fullapp/pom.xml b/sandbox/travelsample/launchers/fullapp/pom.xml
index ca4a64207a..28236ac687 100644
--- a/sandbox/travelsample/launchers/fullapp/pom.xml
+++ b/sandbox/travelsample/launchers/fullapp/pom.xml
@@ -172,13 +172,14 @@
<scope>runtime</scope>
</dependency>
+<!--
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-policy-transaction</artifactId>
<version>1.6-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
-
+-->
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
@@ -190,5 +191,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.FullAppLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/help-pages/pom.xml b/sandbox/travelsample/launchers/help-pages/pom.xml
index c242038a21..70b2300d7e 100644
--- a/sandbox/travelsample/launchers/help-pages/pom.xml
+++ b/sandbox/travelsample/launchers/help-pages/pom.xml
@@ -73,5 +73,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.HelpPagesLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/interaction/pom.xml b/sandbox/travelsample/launchers/interaction/pom.xml
index deb089a85d..e66bf1c1df 100644
--- a/sandbox/travelsample/launchers/interaction/pom.xml
+++ b/sandbox/travelsample/launchers/interaction/pom.xml
@@ -73,5 +73,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.InteractionLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/introducing-client/pom.xml b/sandbox/travelsample/launchers/introducing-client/pom.xml
index fc7b798bc0..61b099b169 100644
--- a/sandbox/travelsample/launchers/introducing-client/pom.xml
+++ b/sandbox/travelsample/launchers/introducing-client/pom.xml
@@ -59,5 +59,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.IntroducingClientLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/introducing-domain/pom.xml b/sandbox/travelsample/launchers/introducing-domain/pom.xml
index 3b10b4d537..34cac5355e 100644
--- a/sandbox/travelsample/launchers/introducing-domain/pom.xml
+++ b/sandbox/travelsample/launchers/introducing-domain/pom.xml
@@ -53,6 +53,22 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>org.apache.tuscany.sca.node.launcher.DomainManagerLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/introducing/pom.xml b/sandbox/travelsample/launchers/introducing/pom.xml
index 72b0b908fa..f1c26105c7 100644
--- a/sandbox/travelsample/launchers/introducing/pom.xml
+++ b/sandbox/travelsample/launchers/introducing/pom.xml
@@ -59,5 +59,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.IntroducingLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/jumpstart/pom.xml b/sandbox/travelsample/launchers/jumpstart/pom.xml
index 2a0a5016ec..61755fd82f 100644
--- a/sandbox/travelsample/launchers/jumpstart/pom.xml
+++ b/sandbox/travelsample/launchers/jumpstart/pom.xml
@@ -59,5 +59,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.JumpstartLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/notification-corba/pom.xml b/sandbox/travelsample/launchers/notification-corba/pom.xml
index abe8fdf4de..b930df6328 100644
--- a/sandbox/travelsample/launchers/notification-corba/pom.xml
+++ b/sandbox/travelsample/launchers/notification-corba/pom.xml
@@ -73,5 +73,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.NotificationCORBALauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/notification-ejb/pom.xml b/sandbox/travelsample/launchers/notification-ejb/pom.xml
index 5326eb8deb..70954b4b0d 100644
--- a/sandbox/travelsample/launchers/notification-ejb/pom.xml
+++ b/sandbox/travelsample/launchers/notification-ejb/pom.xml
@@ -79,5 +79,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.NotificationEJBLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/notification-jms/pom.xml b/sandbox/travelsample/launchers/notification-jms/pom.xml
index 7574ed8cf3..4057986830 100644
--- a/sandbox/travelsample/launchers/notification-jms/pom.xml
+++ b/sandbox/travelsample/launchers/notification-jms/pom.xml
@@ -117,5 +117,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.NotificationJMSLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/notification-rmi/pom.xml b/sandbox/travelsample/launchers/notification-rmi/pom.xml
index da85e9d9d3..345213a8a1 100644
--- a/sandbox/travelsample/launchers/notification-rmi/pom.xml
+++ b/sandbox/travelsample/launchers/notification-rmi/pom.xml
@@ -73,5 +73,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.NotificationRMILauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/notification-ws/pom.xml b/sandbox/travelsample/launchers/notification-ws/pom.xml
index 40a6b13ed5..4c03972565 100644
--- a/sandbox/travelsample/launchers/notification-ws/pom.xml
+++ b/sandbox/travelsample/launchers/notification-ws/pom.xml
@@ -73,5 +73,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.NotificationWSLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/launchers/policy/pom.xml b/sandbox/travelsample/launchers/policy/pom.xml
index 89533d3f6f..ed33c0662b 100644
--- a/sandbox/travelsample/launchers/policy/pom.xml
+++ b/sandbox/travelsample/launchers/policy/pom.xml
@@ -80,5 +80,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.PolicyLauncher</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/services/creditcard-payment-jaxws/pom.xml b/sandbox/travelsample/services/creditcard-payment-jaxws/pom.xml
index c73e425868..b004113afc 100644
--- a/sandbox/travelsample/services/creditcard-payment-jaxws/pom.xml
+++ b/sandbox/travelsample/services/creditcard-payment-jaxws/pom.xml
@@ -39,5 +39,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.creditcard.CreditCardServiceBootstrap</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java b/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java
index bbf3b93b1c..2fa12fc187 100644
--- a/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java
+++ b/sandbox/travelsample/services/creditcard-payment-jaxws/src/main/java/scatours/creditcard/CreditCardServiceBootstrap.java
@@ -23,10 +23,9 @@ import javax.xml.ws.Endpoint;
public class CreditCardServiceBootstrap {
public static void main(String[] args) {
- System.out.println("Publishing Credit Card Service as web service");
-
- Endpoint.publish(
- "http://localhost:8081/CreditCardService",
- new CreditCardServiceImpl());
+ System.out.println("Publishing Credit Card Service as web service: http://localhost:8081/CreditCardService");
+ System.out.println("Press Ctrl^C to terminate...");
+
+ Endpoint.publish("http://localhost:8081/CreditCardService", new CreditCardServiceImpl());
}
}
diff --git a/sandbox/travelsample/services/smsgateway-corba/pom.xml b/sandbox/travelsample/services/smsgateway-corba/pom.xml
index 513550181f..68acf42e27 100644
--- a/sandbox/travelsample/services/smsgateway-corba/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-corba/pom.xml
@@ -41,6 +41,20 @@
<finalName>${artifactId}</finalName>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.smsgateway.SMSGatewayCORBAServiceBootstrap</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>idlj-maven-plugin</artifactId>
<version>1.1</version>
diff --git a/sandbox/travelsample/services/smsgateway-ejb/pom.xml b/sandbox/travelsample/services/smsgateway-ejb/pom.xml
index ac90abbd04..01d58240d4 100644
--- a/sandbox/travelsample/services/smsgateway-ejb/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-ejb/pom.xml
@@ -46,18 +46,34 @@
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
<version>3.1.1</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-ejbd</artifactId>
<version>3.1.1</version>
- <scope>test</scope>
+ <scope>runtime</scope>
</dependency>
</dependencies>
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.smsgateway.SMSGatewayEJBServiceBootstrap</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project> \ No newline at end of file
diff --git a/sandbox/travelsample/services/smsgateway-jaxws/pom.xml b/sandbox/travelsample/services/smsgateway-jaxws/pom.xml
index d1602e6aec..2074310069 100644
--- a/sandbox/travelsample/services/smsgateway-jaxws/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-jaxws/pom.xml
@@ -39,5 +39,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>com.tuscanyscatours.smsgateway.SMSGatewayServiceBootstrap</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/services/smsgateway-jaxws/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayServiceBootstrap.java b/sandbox/travelsample/services/smsgateway-jaxws/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayServiceBootstrap.java
index 3d07ffdd13..e63f248c1e 100644
--- a/sandbox/travelsample/services/smsgateway-jaxws/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayServiceBootstrap.java
+++ b/sandbox/travelsample/services/smsgateway-jaxws/src/main/java/com/tuscanyscatours/smsgateway/SMSGatewayServiceBootstrap.java
@@ -23,9 +23,9 @@ import javax.xml.ws.Endpoint;
public class SMSGatewayServiceBootstrap {
public static void main(String[] args) {
- System.out.println("Publishing SMS Gateway Service as web service");
-
- Endpoint.publish("http://localhost:8081/SMSGatewayService",
- new SMSGatewayServiceImpl());
+ System.out.println("Publishing SMS Gateway Service as web service: http://localhost:8081/CreditCardService");
+ System.out.println("Press Ctrl^C to terminate...");
+
+ Endpoint.publish("http://localhost:8081/SMSGatewayService", new SMSGatewayServiceImpl());
}
}
diff --git a/sandbox/travelsample/services/smsgateway-jms/pom.xml b/sandbox/travelsample/services/smsgateway-jms/pom.xml
index 3c5a12d367..d23511e80c 100644
--- a/sandbox/travelsample/services/smsgateway-jms/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-jms/pom.xml
@@ -84,5 +84,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.smsgateway.SMSGatewayJMSServiceBootstrap</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
diff --git a/sandbox/travelsample/services/smsgateway-rmi/pom.xml b/sandbox/travelsample/services/smsgateway-rmi/pom.xml
index a9a07e3fc3..1d8ebabc78 100644
--- a/sandbox/travelsample/services/smsgateway-rmi/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-rmi/pom.xml
@@ -39,5 +39,21 @@
<build>
<finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathPrefix>../lib/</classpathPrefix>
+ <mainClass>scatours.smsgateway.SMSGatewayRMIServiceBootstrap</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>