소스 검색

Added jetty port numbes to allow all web apps to be run simultaneously

peter_backlund 16 년 전
부모
커밋
5117a95cb2
3개의 변경된 파일14개의 추가작업 그리고 8개의 파일을 삭제
  1. 3
    0
      dddsample/external/pathfinder/pom.xml
  2. 3
    0
      dddsample/external/reporting/pom.xml
  3. 8
    8
      dddsample/tracking/bookingui/pom.xml

+ 3
- 0
dddsample/external/pathfinder/pom.xml 파일 보기

8
     <artifactId>external</artifactId>
8
     <artifactId>external</artifactId>
9
     <version>1.2-SNAPSHOT</version>
9
     <version>1.2-SNAPSHOT</version>
10
   </parent>
10
   </parent>
11
+  <properties>
12
+    <jetty.port>8083</jetty.port>
13
+  </properties>
11
   <packaging>war</packaging>
14
   <packaging>war</packaging>
12
   <name>External: Pathfinder service</name>
15
   <name>External: Pathfinder service</name>
13
   <version>${project.parent.version}</version>
16
   <version>${project.parent.version}</version>

+ 3
- 0
dddsample/external/reporting/pom.xml 파일 보기

8
     <artifactId>external</artifactId>
8
     <artifactId>external</artifactId>
9
     <version>1.2-SNAPSHOT</version>
9
     <version>1.2-SNAPSHOT</version>
10
   </parent>
10
   </parent>
11
+  <properties>
12
+    <jetty.port>8080</jetty.port>
13
+  </properties>
11
   <packaging>war</packaging>
14
   <packaging>war</packaging>
12
   <name>External: Reporting context</name>
15
   <name>External: Reporting context</name>
13
   <version>${project.parent.version}</version>
16
   <version>${project.parent.version}</version>

+ 8
- 8
dddsample/tracking/bookingui/pom.xml 파일 보기

8
     <artifactId>tracking</artifactId>
8
     <artifactId>tracking</artifactId>
9
     <version>1.2-SNAPSHOT</version>
9
     <version>1.2-SNAPSHOT</version>
10
   </parent>
10
   </parent>
11
+  <properties>
12
+    <jetty.port>8081</jetty.port>
13
+  </properties>
11
   <packaging>war</packaging>
14
   <packaging>war</packaging>
12
   <name>Tracking context: Booking UI</name>
15
   <name>Tracking context: Booking UI</name>
13
   <version>${project.parent.version}</version>
16
   <version>${project.parent.version}</version>
46
       <groupId>org.springframework</groupId>
49
       <groupId>org.springframework</groupId>
47
       <artifactId>spring-test</artifactId>
50
       <artifactId>spring-test</artifactId>
48
     </dependency>
51
     </dependency>
52
+    <dependency>
53
+      <groupId>org.codehaus.jettison</groupId>
54
+      <artifactId>jettison</artifactId>
55
+      <version>1.2</version>
56
+    </dependency>
49
   </dependencies>
57
   </dependencies>
50
   <build>
58
   <build>
51
     <plugins>
59
     <plugins>
52
       <plugin>
60
       <plugin>
53
         <groupId>org.mortbay.jetty</groupId>
61
         <groupId>org.mortbay.jetty</groupId>
54
         <artifactId>maven-jetty-plugin</artifactId>
62
         <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>
63
       </plugin>
63
       </plugin>
64
     </plugins>
64
     </plugins>
65
   </build>
65
   </build>