Java Reference
In-Depth Information
<properties>
<cxf.version>2.2.3</cxf.version>
</properties>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
<scope>provided</scope>
</dependency>
Also, since we are using JUnit for testing, we need to include the JUnit stack in the
list of dependencies as well:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
Since we are building an integration test, we will use the maven-failsafe-plu-
gin that has specifically been designed for running integration tests and decouple
the failing builds if there are test failures from actually running the tests. (On the other
hand, the maven-surefire-plugin we have learned of so far has been designed for
running unit tests; if any of the tests fail, it will fail the build immediately.)
Here's the plugin declaration that needs to be added in the build section:
Search WWH ::




Custom Search