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