summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/launchers/currency-converter-ws
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/launchers/currency-converter-ws
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/launchers/currency-converter-ws')
-rw-r--r--sandbox/travelsample/launchers/currency-converter-ws/pom.xml25
1 files changed, 21 insertions, 4 deletions
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>