| <!-- |
| 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> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>apache-cxf</artifactId> |
| <packaging>pom</packaging> |
| <name>Apache CXF Distribution</name> |
| <description>Apache CXF Distribution</description> |
| <version>2.5.8</version> |
| <url>http://cxf.apache.org</url> |
| |
| <parent> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-parent</artifactId> |
| <version>2.5.8</version> |
| <relativePath>../parent</relativePath> |
| </parent> |
| |
| <properties> |
| <maven.test.skip>true</maven.test.skip> |
| <cxf.version>${project.version}</cxf.version> |
| <cxf.checkstyle.extension>-corba</cxf.checkstyle.extension> |
| |
| <cxf.jaxb.version>${cxf.jaxb22.version}</cxf.jaxb.version> |
| <cxf.jaxb.impl.version>${cxf.jaxb22.impl.version}</cxf.jaxb.impl.version> |
| <cxf.jaxb.xjc.version>${cxf.jaxb22.impl.version}</cxf.jaxb.xjc.version> |
| </properties> |
| |
| <modules> |
| <module>manifest</module> |
| </modules> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-bundle</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-common-utilities</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-validator</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-wsdlto-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-wsdlto-frontend-javascript</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-misctools</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-corba</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-wsdlto-databinding-jaxb</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-wsdlto-frontend-jaxws</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-wadlto-jaxrs</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-tools-java2ws</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}.xjcplugins</groupId> |
| <artifactId>cxf-xjc-dv</artifactId> |
| <version>${cxf.xjc-utils.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}.xjcplugins</groupId> |
| <artifactId>cxf-xjc-ts</artifactId> |
| <version>${cxf.xjc-utils.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}.xjcplugins</groupId> |
| <artifactId>cxf-xjc-bug671</artifactId> |
| <version>${cxf.xjc-utils.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}.xjcplugins</groupId> |
| <artifactId>cxf-xjc-boolean</artifactId> |
| <version>${cxf.xjc-utils.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-management</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-transports-local</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-transports-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-transports-http-jetty</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-transports-jms</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-bindings-soap</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-bindings-corba</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-bindings-xml</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-bindings-object</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-bindings-coloc</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-bindings-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-databinding-aegis</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-wstx-msv-validation</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-databinding-xmlbeans</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-databinding-jibx</artifactId> |
| <version>${project.version}</version> |
| <optional>true</optional> |
| <exclusions> |
| <exclusion> |
| <groupId>org.jibx</groupId> |
| <artifactId>jibx-bind</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jibx</groupId> |
| <artifactId>jibx-run</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jibx</groupId> |
| <artifactId>jibx-schema</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jibx</groupId> |
| <artifactId>jibx-tools</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-databinding-sdo</artifactId> |
| <version>${project.version}</version> |
| <optional>true</optional> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.tuscany.sdo</groupId> |
| <artifactId>tuscany-sdo-tools</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.tuscany.sdo</groupId> |
| <artifactId>tuscany-sdo-impl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-ws-addr</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-ws-rm</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-ws-policy</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-ws-mex</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-ws-security</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-frontend-js</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-frontend-simple</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-javascript</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-rt-rs-security-xml</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- services jars --> |
| <dependency> |
| <groupId>org.apache.cxf.services.sts</groupId> |
| <artifactId>cxf-services-sts-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf.services.wsn</groupId> |
| <artifactId>cxf-services-wsn-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf.services.wsn</groupId> |
| <artifactId>cxf-services-wsn-core</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.jettison</groupId> |
| <artifactId>jettison</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.xml.fastinfoset</groupId> |
| <artifactId>FastInfoset</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/java</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>unpack-javadoc</id> |
| <phase>package</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/javadoc</outputDirectory> |
| <artifactItems> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-api</artifactId> |
| <classifier>javadoc</classifier> |
| <version>${project.version}</version> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| <execution> |
| <!-- copy additional jars. These are jars we want included, but don't |
| really don't want them on the classpath in the normal case --> |
| <id>add-jars</id> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>cxf-integration-jca</artifactId> |
| <version>${project.version}</version> |
| <outputDirectory>${project.build.directory}/additional-libs</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>${cxf.jaxb22.version}</version> |
| <outputDirectory>${project.build.directory}/libs/endorsed</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jaxws_2.2_spec</artifactId> |
| <version>${cxf.specs.jaxws.api.version}</version> |
| <outputDirectory>${project.build.directory}/libs/endorsed</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>distribution-package-bin</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/bin.xml</descriptor> |
| </descriptors> |
| <appendAssemblyId>false</appendAssemblyId> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </execution> |
| <execution> |
| <id>distribution-package-src</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/src.xml</descriptor> |
| </descriptors> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>process-sources-xsl</id> |
| <phase>process-sources</phase> |
| <configuration> |
| <tasks> |
| <mkdir dir="${basedir}/target" /> |
| <pathconvert property="cp" refid="maven.runtime.classpath" /> |
| <condition property="output.cp" value="set CXF_CLASSPATH=${cp}"> |
| <os family="windows" /> |
| </condition> |
| <condition property="output.ext" value=".bat"> |
| <os family="windows" /> |
| </condition> |
| <property name="output.cp" value="export CXF_CLASSPATH=${cp}" /> |
| <property name="output.ext" value="" /> |
| <echo file="${basedir}/target/srcbuild_env${output.ext}" message="${output.cp}" /> |
| <echo file="${basedir}/target/srcbuild_env.ant" message="${cp}" /> |
| <echo file="${basedir}/target/version.properties" message="cxf.version=${project.version}" /> |
| <delete file="build.xml" /> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <id>validate</id> |
| <configuration> |
| <excludes>**/target/generated-sources/**</excludes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <!-- build the samples as well to make sure they really do build --> |
| <id>everything</id> |
| <modules> |
| <module>src/main/release/samples</module> |
| </modules> |
| </profile> |
| </profiles> |
| </project> |