| <?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/maven-v4_0_0.xsd"> |
| |
| <!-- |
| |
| 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.servicemix.camel</groupId> |
| <artifactId>camel</artifactId> |
| <version>4.0.0</version> |
| </parent> |
| |
| <groupId>org.apache.servicemix.camel</groupId> |
| <artifactId>org.apache.servicemix.camel.component</artifactId> |
| <packaging>bundle</packaging> |
| <version>4.0.0</version> |
| <name>Apache ServiceMix Camel Component</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.osgi</artifactId> |
| <version>${servicemix.nmr.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>${felix.osgi.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <version>${camel.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cxf</artifactId> |
| <version>${camel.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http-jetty</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-local</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-simple</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-management</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-testutils</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-tools-common</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jetty</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-http</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| <version>${camel.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-testutils</artifactId> |
| <version>${cxf.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-bundle</artifactId> |
| <version>${cxf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>bouncycastle</groupId> |
| <artifactId>bcprov-jdk14</artifactId> |
| <version>140</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jaxws_2.1_spec</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>xfire</groupId> |
| <artifactId>opensaml</artifactId> |
| <version>1.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.xml.parsers</groupId> |
| <artifactId>jaxp-ri</artifactId> |
| <version>1.4.2</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
| <Import-Package>*</Import-Package> |
| <Export-Package>org.apache.servicemix.camel.nmr*</Export-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>pertest</forkMode> |
| <systemProperties> |
| <property> |
| <name>javax.xml.parsers.DocumentBuilderFactory</name> |
| <value>com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl</value> |
| </property> |
| <property> |
| <name>javax.xml.datatype.DatatypeFactory</name> |
| <value>com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl</value> |
| </property> |
| <property> |
| <name>javax.xml.parsers.SAXParserFactory</name> |
| <value>com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-codegen-plugin</artifactId> |
| <version>${cxf.version}</version> |
| <executions> |
| <execution> |
| <id>generate-test-sources</id> |
| <phase>generate-sources</phase> |
| <configuration> |
| <sourceRoot>${basedir}/target/generated</sourceRoot> |
| <wsdlOptions> |
| <wsdlOption> |
| <wsdl>${basedir}/src/test/resources/person.wsdl</wsdl> |
| <extraargs> |
| <extraarg>-verbose</extraarg> |
| </extraargs> |
| </wsdlOption> |
| </wsdlOptions> |
| </configuration> |
| <goals> |
| <goal>wsdl2java</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- IBM JDK java security properties configuration. --> |
| <profiles> |
| <profile> |
| <id>ibmjdk</id> |
| <activation> |
| <property> |
| <name>java.vendor</name> |
| <value>IBM Corporation</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>**/*Test*</include> |
| </includes> |
| <forkMode>pertest</forkMode> |
| <argLine>-Djava.security.properties==${basedir}/src/test/resources/ibm.jdk15.security</argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-codegen-plugin</artifactId> |
| <version>${cxf.version}</version> |
| <dependencies> |
| <!-- needed to add this to get around the following error on IBM's JDK |
| org.apache.xerces.impl.dv.DVFactoryException: DTD factory class |
| org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend |
| from DTDDVFactory. |
| --> |
| <dependency> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| <version>2.8.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |