Skip to content

Commit 5117a95

Browse files
committed
Added jetty port numbes to allow all web apps to be run simultaneously
1 parent c2faba6 commit 5117a95

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

dddsample/external/pathfinder/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<artifactId>external</artifactId>
99
<version>1.2-SNAPSHOT</version>
1010
</parent>
11+
<properties>
12+
<jetty.port>8083</jetty.port>
13+
</properties>
1114
<packaging>war</packaging>
1215
<name>External: Pathfinder service</name>
1316
<version>${project.parent.version}</version>

dddsample/external/reporting/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<artifactId>external</artifactId>
99
<version>1.2-SNAPSHOT</version>
1010
</parent>
11+
<properties>
12+
<jetty.port>8080</jetty.port>
13+
</properties>
1114
<packaging>war</packaging>
1215
<name>External: Reporting context</name>
1316
<version>${project.parent.version}</version>

dddsample/tracking/bookingui/pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<artifactId>tracking</artifactId>
99
<version>1.2-SNAPSHOT</version>
1010
</parent>
11+
<properties>
12+
<jetty.port>8081</jetty.port>
13+
</properties>
1114
<packaging>war</packaging>
1215
<name>Tracking context: Booking UI</name>
1316
<version>${project.parent.version}</version>
@@ -46,20 +49,17 @@
4649
<groupId>org.springframework</groupId>
4750
<artifactId>spring-test</artifactId>
4851
</dependency>
52+
<dependency>
53+
<groupId>org.codehaus.jettison</groupId>
54+
<artifactId>jettison</artifactId>
55+
<version>1.2</version>
56+
</dependency>
4957
</dependencies>
5058
<build>
5159
<plugins>
5260
<plugin>
5361
<groupId>org.mortbay.jetty</groupId>
5462
<artifactId>maven-jetty-plugin</artifactId>
55-
<configuration>
56-
<systemProperties>
57-
<systemProperty>
58-
<name>jetty.port</name>
59-
<value>8081</value>
60-
</systemProperty>
61-
</systemProperties>
62-
</configuration>
6363
</plugin>
6464
</plugins>
6565
</build>

0 commit comments

Comments
 (0)