|
Apache CXF example source code file (pom.xml)
The Apache CXF pom.xml source code
<!--
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
<groupId>org.apache.cxf
<artifactId>apache-cxf
<packaging>pom
<name>Apache CXF Distribution
<version>2.3.1
<url>http://cxf.apache.org
<parent>
<groupId>org.apache.cxf
<artifactId>cxf-parent
<version>2.3.1
<relativePath>../parent
</parent>
<properties>
<maven.test.skip>true
<cxf.version>${project.version}
<cxf.checkstyle.extension>-corba
<cxf.jaxb.version>${cxf.jaxb22.version}
<cxf.jaxb.impl.version>${cxf.jaxb22.impl.version}
<cxf.jaxb.xjc.version>${cxf.jaxb22.impl.version}
</properties>
<modules>
<module>bundle
<module>manifest
</modules>
<dependencies>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-bundle
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-common-utilities
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-common-schemas
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-common
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-validator
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-wsdlto-core
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-wsdlto-frontend-javascript
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-misctools
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-corba
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-wsdlto-databinding-jaxb
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-wsdlto-frontend-jaxws
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-tools-java2ws
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}.xjcplugins
<artifactId>cxf-xjc-dv
<version>${cxf.xjc-utils.version}
</dependency>
<dependency>
<groupId>${project.groupId}.xjcplugins
<artifactId>cxf-xjc-ts
<version>${cxf.xjc-utils.version}
</dependency>
<dependency>
<groupId>${project.groupId}.xjcplugins
<artifactId>cxf-xjc-bug671
<version>${cxf.xjc-utils.version}
</dependency>
<dependency>
<groupId>${project.groupId}.xjcplugins
<artifactId>cxf-xjc-boolean
<version>${cxf.xjc-utils.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-api
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-core
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-management
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-transports-local
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-transports-http
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-transports-http-osgi
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-transports-http-jetty
<version>${project.version}
</dependency>
<dependency>
<groupId>org.slf4j
<artifactId>slf4j-jdk14
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-transports-jms
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-bindings-soap
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-bindings-corba
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-bindings-xml
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-bindings-object
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-bindings-coloc
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-bindings-http
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-databinding-aegis
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-wstx-msv-validation
<version>${project.version}
<exclusions>
<exclusion>
<groupId>net.java.dev.msv
<artifactId>msv-core
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-databinding-xmlbeans
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-databinding-sdo
<version>${project.version}
<optional>true
<exclusions>
<exclusion>
<groupId>org.apache.tuscany.sdo
<artifactId>tuscany-sdo-tools
</exclusion>
<exclusion>
<groupId>org.apache.tuscany.sdo
<artifactId>tuscany-sdo-impl
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-ws-addr
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-ws-rm
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-ws-policy
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-ws-security
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-frontend-jaxws
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-frontend-js
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-frontend-simple
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-frontend-jaxrs
<version>${project.version}
</dependency>
<dependency>
<groupId>${project.groupId}
<artifactId>cxf-rt-javascript
<version>${project.version}
</dependency>
<dependency>
<groupId>org.codehaus.jettison
<artifactId>jettison
</dependency>
<dependency>
<groupId>asm
<artifactId>asm
</dependency>
<dependency>
<groupId>commons-logging
<artifactId>commons-logging
</dependency>
<dependency>
<groupId>com.sun.xml.fastinfoset
<artifactId>FastInfoset
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/java
<includes>
<include>**/*
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-dependency-plugin
<executions>
<execution>
<id>unpack-javadoc
<phase>package
<goals>
<goal>unpack
</goals>
<configuration>
<outputDirectory>${project.build.directory}/javadoc
<artifactItems>
<artifactItem>
<groupId>${project.groupId}
<artifactId>cxf-api
<classifier>javadoc
<version>${project.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
<phase>package
<goals>
<goal>copy
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}
<artifactId>cxf-integration-jbi
<version>${project.version}
<outputDirectory>${project.build.directory}/additional-libs
</artifactItem>
<artifactItem>
<groupId>${project.groupId}
<artifactId>cxf-integration-jca
<version>${project.version}
<outputDirectory>${project.build.directory}/additional-libs
</artifactItem>
<artifactItem>
<groupId>${project.groupId}
<artifactId>cxf-rt-bindings-jbi
<version>${project.version}
<outputDirectory>${project.build.directory}/additional-libs
</artifactItem>
<artifactItem>
<groupId>${project.groupId}
<artifactId>cxf-rt-transports-jbi
<version>${project.version}
<outputDirectory>${project.build.directory}/additional-libs
</artifactItem>
<artifactItem>
<groupId>org.eclipse.jetty
<artifactId>jetty-webapp
<version>${cxf.jetty.version}
<outputDirectory>${project.build.directory}/sample-libs
</artifactItem>
<artifactItem>
<groupId>org.eclipse.jetty
<artifactId>jetty-servlet
<version>${cxf.jetty.version}
<outputDirectory>${project.build.directory}/sample-libs
</artifactItem>
<artifactItem>
<groupId>org.eclipse.jetty
<artifactId>jetty-security
<version>${cxf.jetty.version}
<outputDirectory>${project.build.directory}/sample-libs
</artifactItem>
<artifactItem>
<groupId>org.eclipse.jetty
<artifactId>jetty-xml
<version>${cxf.jetty.version}
<outputDirectory>${project.build.directory}/sample-libs
</artifactItem>
<artifactItem>
<groupId>junit
<artifactId>junit
<version>4.4
<outputDirectory>${project.build.directory}/sample-libs
</artifactItem>
<artifactItem>
<groupId>commons-httpclient
<artifactId>commons-httpclient
<version>3.1
<outputDirectory>${project.build.directory}/sample-libs
</artifactItem>
<artifactItem>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-ejb_3.0_spec
<version>1.0.1
<outputDirectory>${project.build.directory}/sample-libs
</artifactItem>
<artifactItem>
<groupId>javax.xml.bind
<artifactId>jaxb-api
<version>${cxf.jaxb22.version}
<outputDirectory>${project.build.directory}/libs/endorsed
</artifactItem>
<artifactItem>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-jaxws_2.2_spec
<version>${cxf.specs.jaxws.api.version}
<outputDirectory>${project.build.directory}/libs/endorsed
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-assembly-plugin
<executions>
<execution>
<id>distribution-package
<phase>package
<goals>
<goal>single
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml
<descriptor>src/main/assembly/src.xml
</descriptors>
<tarLongFileMode>gnu
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-antrun-plugin
<executions>
<execution>
<id>process-sources-xsl
<phase>process-sources
<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}" />
<copy file="${basedir}/src/main/assembly/jbi.xml" tofile="${basedir}/target/jbi.xml" overwrite="yes">
<filterset>
<filter token="CXF_VERSION" value="${project.version}" />
</filterset>
</copy>
<delete file="build.xml" />
</tasks>
</configuration>
<goals>
<goal>run
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-checkstyle-plugin
<executions>
<execution>
<phase>validate
<id>validate
<configuration>
<excludes>**/target/generated-sources/**
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- build the samples as well to make sure they really do build -->
<id>everything
<modules>
<module>src/main/release/samples
</modules>
</profile>
</profiles>
</project>
Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF pom.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.