root/trunk/Chapter09/Poker-WS/pom.xml

Revision 187, 8.1 KB (checked in by wallsc, 13 months ago)

Separated Poker example from SiA code (so that it can be built independently) and updated it to Spring-WS 1.5.7

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project>
3   <modelVersion>4.0.0</modelVersion>
4   <groupId>com.springinaction</groupId>
5   <artifactId>Poker-WS</artifactId>
6   <version>2.0</version>
7   <packaging>war</packaging>
8   <name>Spring in Action 2E, Spring-WS Example</name>
9
10   <repositories>
11      <repository>
12         <id>springframework.org</id>
13         <name>Springframework Maven SNAPSHOT Repository</name>
14         <url>http://static.springframework.org/maven2-snapshots/</url>
15      </repository>
16   </repositories>
17
18   <properties>
19      <spring.version>2.5.6</spring.version>
20      <spring.ws.version>1.5.7</spring.ws.version>
21   </properties>
22
23   <build>
24      <finalName>Poker-WS</finalName>
25      <plugins>
26         <!-- Jetty plugin to run app from Maven -->
27         <plugin>
28            <groupId>org.mortbay.jetty</groupId>
29            <artifactId>maven-jetty-plugin</artifactId>
30         </plugin>
31
32         <!-- Set source/target Java version -->
33         <plugin>
34            <artifactId>maven-compiler-plugin</artifactId>
35            <configuration>
36               <source>1.5</source>
37               <target>1.5</target>
38            </configuration>
39         </plugin>
40
41         <!-- Configure surefire to ignore integration tests on "test" and
42            to ignore plain unit-tests on "integration-test" -->
43         <plugin>
44            <groupId>org.apache.maven.plugins</groupId>
45            <artifactId>maven-surefire-plugin</artifactId>
46            <configuration>
47               <excludes>
48                  <exclude>**/*ITest.java</exclude>
49               </excludes>
50            </configuration>
51            <executions>
52               <execution>
53                  <id>integration tests</id>
54                  <phase>integration-test</phase>
55                  <goals>
56                     <goal>test</goal>
57                  </goals>
58                  <configuration>
59                     <includes>
60                        <include>**/itest/*ITest.java</include>
61                     </includes>
62                     <excludes>
63                        <exclude>none</exclude>
64                     </excludes>
65                  </configuration>
66               </execution>
67            </executions>
68         </plugin>
69
70         <!-- Start Jetty on pre-integration-test and shut it down on post-integration-test -->
71         <plugin>
72            <groupId>org.codehaus.cargo</groupId>
73            <artifactId>cargo-maven2-plugin</artifactId>
74            <executions>
75               <execution>
76                  <id>start-container</id>
77                  <phase>pre-integration-test</phase>
78                  <goals>
79                     <goal>start</goal>
80                  </goals>
81                  <configuration>
82                     <wait>false</wait>
83                  </configuration>
84               </execution>
85               <execution>
86                  <id>stop-container</id>
87                  <phase>post-integration-test</phase>
88                  <goals>
89                     <goal>stop</goal>
90                  </goals>
91               </execution>
92            </executions>
93            <configuration>
94               <container>
95                  <systemProperties>
96                     <org.apache.commons.logging.Log>
97                        org.apache.commons.logging.impl.SimpleLog
98                     </org.apache.commons.logging.Log>
99                  </systemProperties>
100               </container>
101            </configuration>
102         </plugin>
103      </plugins>
104   </build>
105
106   <dependencies>
107       <dependency>
108         <groupId>org.springframework</groupId>
109         <artifactId>spring</artifactId>
110         <version>${spring.version}</version>
111         <scope>compile</scope>
112         <exclusions>
113           <exclusion>
114             <groupId>avalon-framework</groupId>
115             <artifactId>avalon-framework</artifactId>
116           </exclusion>
117           <exclusion>
118             <groupId>javax.servlet</groupId>
119             <artifactId>servlet-api</artifactId>
120           </exclusion>
121           <exclusion>
122             <groupId>logkit</groupId>
123             <artifactId>logkit</artifactId>
124           </exclusion>
125         </exclusions>
126       </dependency>
127       <dependency>
128         <groupId>log4j</groupId>
129         <artifactId>log4j</artifactId>
130         <version>1.2.13</version>
131         <scope>compile</scope>
132       </dependency>
133       <dependency>
134         <groupId>junit</groupId>
135         <artifactId>junit</artifactId>
136         <version>4.4</version>
137         <scope>test</scope>
138       </dependency>   
139       <dependency>
140         <groupId>junit-addons</groupId>
141         <artifactId>junit-addons</artifactId>
142         <version>1.4</version>
143         <scope>test</scope>
144       </dependency>       
145       
146      <dependency>
147         <groupId>commons-logging</groupId>
148         <artifactId>commons-logging</artifactId>
149         <version>1.1</version>
150         <scope>compile</scope>
151      </dependency>
152      <dependency>
153         <groupId>javax.servlet</groupId>
154         <artifactId>servlet-api</artifactId>
155         <version>2.4</version>
156         <scope>provided</scope>
157      </dependency>
158      <dependency>
159         <groupId>org.springframework.ws</groupId>
160         <artifactId>spring-oxm</artifactId>
161         <version>${spring.ws.version}</version>
162         <scope>compile</scope>
163      </dependency>
164      <dependency>
165         <groupId>org.springframework.ws</groupId>
166         <artifactId>spring-xml</artifactId>
167         <version>${spring.ws.version}</version>
168         <scope>compile</scope>
169      </dependency>
170      <dependency>
171         <groupId>org.springframework.ws</groupId>
172         <artifactId>spring-ws-core-tiger</artifactId>
173         <version>${spring.ws.version}</version>
174      </dependency>
175      <dependency>
176         <groupId>org.springframework.ws</groupId>
177         <artifactId>spring-ws-core</artifactId>
178         <version>${spring.ws.version}</version>
179         <scope>compile</scope>
180      </dependency>
181      <dependency>
182         <groupId>org.springframework</groupId>
183         <artifactId>spring-test</artifactId>
184         <version>${spring.version}</version>
185         <scope>compile</scope>
186      </dependency>
187      <dependency>
188         <groupId>org.codehaus.castor</groupId>
189         <artifactId>castor</artifactId>
190         <version>1.2</version>
191         <scope>compile</scope>
192         <exclusions>
193            <exclusion>
194               <groupId>xerces</groupId>
195               <artifactId>xerces</artifactId>
196            </exclusion>
197         </exclusions>
198      </dependency>
199
200      <dependency>
201         <groupId>org.apache.ws.commons.axiom</groupId>
202         <artifactId>axiom-impl</artifactId>
203         <version>1.2.2</version>
204         <exclusions>
205            <exclusion>
206               <groupId>commons-logging</groupId>
207               <artifactId>commons-logging</artifactId>
208            </exclusion>
209         </exclusions>
210      </dependency>
211
212      <dependency>
213         <groupId>org.apache.ws.commons.axiom</groupId>
214         <artifactId>axiom-api</artifactId>
215         <version>1.2.2</version>
216      </dependency>
217
218
219      <dependency>
220         <groupId>stax</groupId>
221         <artifactId>stax</artifactId>
222         <version>1.2.0</version>
223      </dependency>
224
225      <dependency>
226         <groupId>javax.activation</groupId>
227         <artifactId>activation</artifactId>
228         <version>1.1</version>
229      </dependency>
230
231      <dependency>
232         <groupId>xerces</groupId>
233         <artifactId>xercesImpl</artifactId>
234         <version>2.8.0</version>
235         <scope>compile</scope>
236      </dependency>
237
238      <dependency>
239         <groupId>jdom</groupId>
240         <artifactId>jdom</artifactId>
241         <version>1.0</version>
242      </dependency>
243
244      <dependency>
245         <groupId>javax.xml.soap</groupId>
246         <artifactId>saaj-api</artifactId>
247         <version>1.3</version>
248      </dependency>
249
250      <dependency>
251         <groupId>com.sun.xml</groupId>
252         <artifactId>saaj-impl</artifactId>
253         <version>1.3</version>
254      </dependency>
255
256      <dependency>
257         <groupId>junit-addons</groupId>
258         <artifactId>junit-addons</artifactId>
259         <version>1.4</version>
260         <scope>test</scope>
261      </dependency>
262   </dependencies>
263</project>
Note: See TracBrowser for help on using the browser.