| <?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-policy</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache CXF Runtime WS Policy</name> |
| <description>Apache CXF Runtime WS Policy</description> |
| <url>http://cxf.apache.org</url> |
| <parent> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-parent</artifactId> |
| <version>3.1.5-SNAPSHOT</version> |
| <relativePath>../../../parent/pom.xml</relativePath> |
| </parent> |
| <properties> |
| <cxf.bundle.activator>org.apache.cxf.ws.policy.blueprint.Activator</cxf.bundle.activator> |
| <cxf.osgi.import> |
| org.springframework*;resolution:="optional";version="${cxf.osgi.spring.version}", |
| org.apache.aries*;version="${cxf.aries.version.range}";resolution:=optional |
| </cxf.osgi.import> |
| <!-- keep in sync with services exported in activator --> |
| <cxf.export.service> |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://cxf.apache.org/policy", |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://www.w3.org/ns/ws-policy", |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://www.w3.org/2006/07/ws-policy", |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://schemas.xmlsoap.org/ws/2004/09/policy", |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://www.w3.org/2000/09/xmldsig#", |
| org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" |
| </cxf.export.service> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint.core</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>wsdl4j</groupId> |
| <artifactId>wsdl4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-wsdl</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.neethi</groupId> |
| <artifactId>neethi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <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> |
| <configuration> |
| <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> |
| <xsdOptions> |
| <xsdOption> |
| <xsd>${basedir}/src/main/resources/schemas/ws-policy-200409.xsd</xsd> |
| <bindingFile>${basedir}/src/main/resources/schemas/ws-policy-200409.xjb</bindingFile> |
| <catalog>${basedir}/src/main/build-resources/catalog.cat</catalog> |
| <deleteDirs> |
| <deleteDir>${basedir}/target/generated/src/main/java/org/oasis_open</deleteDir> |
| <deleteDir>${basedir}/target/generated/src/main/java/org/w3</deleteDir> |
| </deleteDirs> |
| </xsdOption> |
| <xsdOption> |
| <xsd>${basedir}/src/main/resources/schemas/ws-policy-200607.xsd</xsd> |
| <bindingFile>${basedir}/src/main/resources/schemas/ws-policy-200607.xjb</bindingFile> |
| <catalog>${basedir}/src/main/build-resources/catalog.cat</catalog> |
| <deleteDirs> |
| <deleteDir>${basedir}/target/generated/src/main/java/org/oasis_open</deleteDir> |
| <deleteDir>${basedir}/target/generated/src/main/java/org/w3</deleteDir> |
| </deleteDirs> |
| </xsdOption> |
| </xsdOptions> |
| </configuration> |
| <goals> |
| <goal>xsdtojava</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>generate-test-sources</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>xsdtojava-tests</goal> |
| </goals> |
| <configuration> |
| <testSourceRoot>${basedir}/target/generated/src/test/java</testSourceRoot> |
| <xsdOptions> |
| <xsdOption> |
| <xsd>${basedir}/src/test/resources/schemas/foo.xsd</xsd> |
| </xsdOption> |
| </xsdOptions> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-codegen-plugin</artifactId> |
| <version>${project.version}</version> |
| <executions> |
| <execution> |
| <id>generate-test-sources</id> |
| <phase>generate-test-sources</phase> |
| <configuration> |
| <fork>${cxf.codegenplugin.forkmode}</fork> |
| <testSourceRoot>${basedir}/target/generated/src/test/java</testSourceRoot> |
| <wsdlOptions> |
| <wsdlOption> |
| <wsdl>${basedir}/src/test/resources/attachment/wsdl11/calculator-binding.wsdl</wsdl> |
| </wsdlOption> |
| </wsdlOptions> |
| <defaultOptions> |
| <markGenerated>true</markGenerated> |
| <faultSerialVersionUID>1</faultSerialVersionUID> |
| </defaultOptions> |
| </configuration> |
| <goals> |
| <goal>wsdl2java</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |