| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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/maven-v4_0_0.xsd"> |
| <parent> |
| <artifactId>cxf-parent</artifactId> |
| <groupId>org.apache.cxf</groupId> |
| <version>2.6.18-SNAPSHOT</version> |
| <relativePath>../../parent/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.apache.cxf.systests</groupId> |
| <artifactId>cxf-systests-ws-security</artifactId> |
| <name>Apache CXF WS-Security System Tests</name> |
| <description>Apache CXF WS-Security System Tests</description> |
| <version>2.6.18-SNAPSHOT</version> |
| <url>http://cxf.apache.org</url> |
| |
| <build> |
| <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory> |
| <testResources> |
| <testResource> |
| <directory>src/test/java</directory> |
| <excludes> |
| <exclude>**/*.java</exclude> |
| </excludes> |
| </testResource> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </testResource> |
| </testResources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-codegen-plugin</artifactId> |
| <version>${project.version}</version> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <configuration> |
| <fork>${cxf.codegenplugin.forkmode}</fork> |
| <sourceRoot>${basedir}/target/generated-sources</sourceRoot> |
| <defaultOptions> |
| <markGenerated>true</markGenerated> |
| <faultSerialVersionUID>1</faultSerialVersionUID> |
| </defaultOptions> |
| <wsdlOptions> |
| <wsdlOption> |
| <wsdl>${basedir}/src/test/resources/DoubleItLogical.wsdl</wsdl> |
| </wsdlOption> |
| <wsdlOption> |
| <wsdl>${basedir}/src/test/resources/wsdl_systest_wssec/wssec10/WsSecurity10.wsdl</wsdl> |
| </wsdlOption> |
| <wsdlOption> |
| <wsdl>${basedir}/src/test/resources/wsdl_systest_wssec/wssec11/WsSecurity11.wsdl</wsdl> |
| </wsdlOption> |
| <wsdlOption> |
| <wsdl>${basedir}/src/test/resources/wsdl_systest_wssec/wssc/WSSecureConversation.wsdl</wsdl> |
| </wsdlOption> |
| </wsdlOptions> |
| </configuration> |
| <goals> |
| <goal>wsdl2java</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-databinding-jaxb</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-bindings-soap</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http-jetty</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-addr</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-policy</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-security</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-testutils</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${cxf.asm.groupId}</groupId> |
| <artifactId>${cxf.asm.artifactId}</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.xml.fastinfoset</groupId> |
| <artifactId>FastInfoset</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk15on</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>jaxws22</id> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jaxws_2.2_spec</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>jdk15</id> |
| <activation> |
| <jdk>1.5</jdk> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-endorsed-dir</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| <outputDirectory>${basedir}/target/endorsed</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| <version>1.3.04</version> |
| <outputDirectory>${basedir}/target/endorsed</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-Djava.endorsed.dirs=${basedir}/target/endorsed</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |