|
Apache CXF example source code file (pom.xml)
The Apache CXF pom.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0
<parent>
<groupId>org.apache.cxf.systests
<artifactId>cxf-systests-container-integration
<version>2.3.1-SNAPSHOT
<relativePath>../pom.xml
</parent>
<groupId>org.apache.cxf.systests
<artifactId>cxf-systests-ci-jetty6
<name>Apache CXF Container Integration Test Jetty6
<version>2.3.1-SNAPSHOT
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-surefire-plugin
<configuration>
<!-- disable surefire, all tests are failsafe -->
<excludes>
<exclude>**/**
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-dependency-plugin
<executions>
<execution>
<id>copy-war
<phase>compile
<goals>
<goal>copy
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.cxf.systests
<artifactId>cxf-systests-ci-webapp
<version>${project.version}
<type>war
<overWrite>true
<outputDirectory>${project.build.directory}
<destFileName>hello.war
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/wars
<overWriteReleases>false
<overWriteSnapshots>true
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-failsafe-plugin
<version>2.5
<executions>
<execution>
<id>integration-test
<goals>
<goal>integration-test
</goals>
</execution>
<execution>
<id>verify
<goals>
<goal>verify
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.mortbay.jetty
<artifactId>maven-jetty-plugin
<version>6.1.24
<configuration>
<scanIntervalSeconds>10
<stopPort>8005
<stopKey>STOP
<contextPath>/
</configuration>
<executions>
<execution>
<id>start-jetty
<phase>pre-integration-test
<goals>
<goal>run-war
</goals>
<configuration>
<webApp>${project.build.directory}/hello.war
<scanIntervalSeconds>0
<daemon>true
</configuration>
</execution>
<execution>
<id>stop-jetty
<phase>post-integration-test
<goals>
<goal>stop
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF pom.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.