Skip to content

Commit 0bed35c

Browse files
committed
IN PROGRESS - issue JAVAMONEY-11: Port JScience Tradingapp
https://java.net/jira/browse/JAVAMONEY-11
1 parent 1ff00c1 commit 0bed35c

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

web/javamoney-tradingapp/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The application this project produces is designed to be run on a **Java EE 6** c
1919

2020
1. **Checkout and Build JSR 354**
2121

22-
Checkout [JavaMoney](https://github.com/JavaMoney/javamoney) in the main "javamoney" project run
22+
Checkout [JavaMoney](https://github.com/JavaMoney/javamoney) in the **javamoney** project home run
2323

2424
mvn clean install
2525

@@ -39,6 +39,16 @@ The application this project produces is designed to be run on a **Java EE 6** c
3939
-DgroupId=jfl -DartifactId=jfl -Dversion=1.6.1 -Dpackaging=jar
4040

4141

42+
Starting the Application
43+
---------------------------------------------------------------------------
44+
45+
Start with Jetty
46+
-------------------------
47+
48+
The easiest way to start the application is via the Maven Jetty Plugin. Run
49+
50+
mvn jetty:run -P jetty
51+
4252
Start JBoss Enterprise Application Platform 6 or JBoss AS 7.1
4353
-------------------------
4454

web/javamoney-tradingapp/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
<groupId>jfl</groupId>
368368
<artifactId>jfl</artifactId>
369369
</dependency>
370-
370+
371371
<dependency>
372372
<groupId>javax.servlet</groupId>
373373
<artifactId>servlet-api</artifactId>
@@ -404,6 +404,18 @@
404404
</plugins>
405405
</build>
406406
<profiles>
407+
<profile>
408+
<id>jetty</id>
409+
<build>
410+
<plugins>
411+
<plugin>
412+
<groupId>org.mortbay.jetty</groupId>
413+
<artifactId>jetty-maven-plugin</artifactId>
414+
</plugin>
415+
</plugins>
416+
</build>
417+
</profile>
418+
407419
<profile>
408420
<!-- When built in OpenShift the 'openshift' profile will be used when
409421
invoking mvn. -->

0 commit comments

Comments
 (0)