java-tutorials/apache-cxf/cxf-spring/pom.xml

130 lines
4.9 KiB
XML
Raw Normal View History

2016-07-14 09:38:34 -04:00
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2016-07-15 06:54:28 -04:00
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>cxf-spring</artifactId>
<packaging>war</packaging>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>apache-cxf</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
2016-07-24 11:37:52 -04:00
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
</dependencies>
2016-07-15 06:54:28 -04:00
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
2016-07-15 06:54:28 -04:00
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<configuration>
<excludes>
2016-10-23 06:19:55 -04:00
<exclude>**/*LiveTest.java</exclude>
2016-07-15 06:54:28 -04:00
</excludes>
</configuration>
</plugin>
</plugins>
</build>
2016-07-24 11:37:52 -04:00
2016-07-15 06:54:28 -04:00
<profiles>
<profile>
2016-10-23 06:19:55 -04:00
<id>live</id>
2016-07-15 06:54:28 -04:00
<build>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.19</version>
2016-07-15 06:54:28 -04:00
<configuration>
<container>
<containerId>tomcat8x</containerId>
2016-07-15 06:54:28 -04:00
<type>embedded</type>
</container>
<configuration>
<properties>
<cargo.hostname>localhost</cargo.hostname>
2016-07-24 11:37:52 -04:00
<cargo.servlet.port>8081</cargo.servlet.port>
2016-07-15 06:54:28 -04:00
</properties>
</configuration>
</configuration>
<executions>
<execution>
<id>start-server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop-server</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
2016-07-24 11:37:52 -04:00
2016-07-15 06:54:28 -04:00
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<exclude>none</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2016-07-24 11:37:52 -04:00
2016-07-15 06:54:28 -04:00
</profiles>
2016-07-24 11:37:52 -04:00
<properties>
<cxf.version>3.1.6</cxf.version>
<spring.version>4.3.1.RELEASE</spring.version>
<surefire.version>2.19.1</surefire.version>
</properties>
2016-07-15 06:54:28 -04:00
</project>