| <?xml version="1.0"?> |
| <!-- |
| 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"> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>cxf-rt-ws-security</artifactId> |
| <packaging>jar</packaging> |
| <name>Apache CXF Runtime WS Security</name> |
| <description>Apache CXF Runtime WS Security</description> |
| <url>http://cxf.apache.org</url> |
| |
| <parent> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-parent</artifactId> |
| <version>2.6.18-SNAPSHOT</version> |
| <relativePath>../../../parent/pom.xml</relativePath> |
| </parent> |
| <properties> |
| <cxf.osgi.import> |
| net.sf.ehcache*;resolution:=optional;version="[2.5, 3.0.0)", |
| org.opensaml*;resolution:=optional, |
| </cxf.osgi.import> |
| </properties> |
| |
| <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-bindings-soap</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-addr</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-policy</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-mex</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.ehcache</groupId> |
| <artifactId>ehcache-core</artifactId> |
| <version>${cxf.ehcache.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ws.security</groupId> |
| <artifactId>wss4j</artifactId> |
| <version>${cxf.wss4j.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk15on</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| <version>${project.version}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-local</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-xjc-plugin</artifactId> |
| <version>${cxf.xjc-utils.version}</version> |
| <executions> |
| <execution> |
| <id>generate-sources</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>xsdtojava</goal> |
| </goals> |
| <configuration> |
| <extensions> |
| <extension>org.apache.cxf.xjcplugins:cxf-xjc-dv:${cxf.xjc-utils.version}</extension> |
| </extensions> |
| <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> |
| <xsdOptions> |
| <xsdOption> |
| <extension>true</extension> |
| <xsd>${basedir}/src/main/model/ws-trust-1.3.xsd</xsd> |
| <bindingFile>${basedir}/src/main/model/binding.xjb</bindingFile> |
| </xsdOption> |
| <xsdOption> |
| <extension>true</extension> |
| <xsd>${basedir}/src/main/model/ws-trust-1.4.xsd</xsd> |
| <bindingFile>${basedir}/src/main/model/binding14.xjb</bindingFile> |
| </xsdOption> |
| </xsdOptions> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>jdk15</id> |
| <activation> |
| <jdk>1.5</jdk> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>javax.xml.soap</groupId> |
| <artifactId>saaj-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>${cxf.saaj.impl.groupId}</groupId> |
| <artifactId>${cxf.saaj.impl.artifactId}</artifactId> |
| <version>${cxf.saaj.impl.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${extra.saaj.dep.groupId}</groupId> |
| <artifactId>${extra.saaj.dep.artifactId}</artifactId> |
| <version>${extra.saaj.dep.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>xalan</groupId> |
| <artifactId>xalan</artifactId> |
| <version>2.7.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| <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> |