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

134 lines
5.2 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>
2016-12-13 15:17:12 -05:00
<version>${javax.servlet-api.version}</version>
2016-07-24 11:37:52 -04:00
</dependency>
</dependencies>
2016-07-15 06:54:28 -04:00
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
2016-12-13 15:17:12 -05:00
<version>${maven-war-plugin.version}</version>
2016-07-15 06:54:28 -04:00
<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>
2016-12-13 15:17:12 -05:00
<version>${cargo-maven2-plugin.version}</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>
2016-12-13 15:17:12 -05:00
<cxf.version>3.1.8</cxf.version>
<spring.version>4.3.4.RELEASE</spring.version>
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
<maven-war-plugin.version>2.6</maven-war-plugin.version>
2016-07-24 11:37:52 -04:00
<surefire.version>2.19.1</surefire.version>
2016-12-13 15:17:12 -05:00
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
2016-07-24 11:37:52 -04:00
</properties>
2016-07-15 06:54:28 -04:00
</project>