diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-26 23:36:54 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-26 23:36:54 +0000 |
commit | 3c908c16d224e5c7d84b01e9662f7104bd546eeb (patch) | |
tree | 28ae7ebdbca92ad7c900ce65646250d15b2119b2 /sandbox/travelsample/services/smsgateway-ejb/pom.xml | |
parent | ce7474138d1b4596137ebc9141f0949c470c3a85 (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 '')
-rw-r--r-- | sandbox/travelsample/services/smsgateway-ejb/pom.xml | 20 |
1 files changed, 18 insertions, 2 deletions
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 |