| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| 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> |
| |
| <parent> |
| <groupId>org.apache.camel.example</groupId> |
| <artifactId>examples</artifactId> |
| <version>3.5.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>camel-example-cxf-ws-security-signature</artifactId> |
| <packaging>jar</packaging> |
| <name>Camel :: Example :: CXF :: WS-Security Signature</name> |
| <description>CXF example using WS-Security Signature Action</description> |
| |
| <properties> |
| <category>WebService</category> |
| <title>CXF using WS-Security Signature</title> |
| <camel.osgi.import.additional> |
| org.apache.cxf.*;version="${cxf-version-range}" |
| </camel.osgi.import.additional> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- Add Camel BOM --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-bom</artifactId> |
| <version>${camel.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cxf</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-ws-security</artifactId> |
| <version>${cxf-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j-api-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j-version}</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <defaultGoal>install</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>camel-example-cxf-ws-security-signature</Bundle-SymbolicName> |
| <Bundle-Name>Camel :: Example :: CXF :: WS-Security Signature</Bundle-Name> |
| <Import-Package> |
| javax.jws, |
| javax.xml.bind.annotation, |
| javax.xml.namespace, |
| javax.wsdl, |
| org.apache.cxf.bus, |
| org.apache.cxf.bus.spring, |
| org.apache.cxf.bus.resource, |
| org.apache.cxf.configuration.spring, |
| org.apache.cxf.resource, |
| org.apache.cxf.transport.http, |
| org.apache.cxf.ws.security.wss4j, |
| org.springframework.beans.factory.config, |
| javax.security.auth.callback, |
| org.apache.wss4j.common.ext, |
| org.apache.cxf.binding.soap.saaj, |
| org.apache.commons.io |
| </Import-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-maven-plugin</artifactId> |
| <version>${camel.version}</version> |
| <configuration> |
| <fileApplicationContextUri>src/main/resources/META-INF/spring/camel-context.xml |
| </fileApplicationContextUri> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <configuration> |
| <mainClass>org.apache.camel.example.cxf.ws.Client</mainClass> |
| <includePluginDependencies>false</includePluginDependencies> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |