alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Apache CXF example source code file (dependency-reduced-pom.xml)

This example Apache CXF source code file (dependency-reduced-pom.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Apache CXF tags/keywords

apache, apache, bundle, cxf, cxf, foundation, foundation, implementation-version, import-package, software, software, specification-title, specification-vendor, specification-version

The Apache CXF dependency-reduced-pom.xml source code

<?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">
  <parent>
    <artifactId>cxf-bundle-parent
    <groupId>org.apache.cxf
    <version>2.3.1
  </parent>
  <modelVersion>4.0.0
  <groupId>org.apache.cxf
  <artifactId>cxf-bundle
  <packaging>bundle
  <name>Apache CXF Bundle Jar
  <version>2.3.1
  <url>http://cxf.apache.org
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix
        <artifactId>maven-bundle-plugin
        <extensions>true
        <configuration>
          <instructions>
            <Implementation-Title>Apache CXF
            <Implementation-Vendor>The Apache Software Foundation
            <Implementation-Vendor-Id>org.apache
            <Implementation-Version>${cxf.osgi.version.clean}
            <Specification-Title>Apache CXF
            <Specification-Vendor>The Apache Software Foundation
            <Specification-Version>${cxf.osgi.version.clean}
            <DynamicImport-Package>com.sun.xml.bind.api,
                            com.sun.xml.bind.api.*,
                            com.sun.xml.internal.bind.api,
                            com.sun.xml.internal.bind.api.*,
                            com.ctc.wstx.*,
                            org.apache.commons.logging.*,
                            org.slf4j.*,
                            org.slf4j.impl.*,
                            org.eclipse.jetty.jmx,
                            org.eclipse.jetty.jmx.*</DynamicImport-Package>
            <Import-Package>!org.apache.cxf.*,
                            repackage;resolution:=optional,
                            !META-INF.cxf,
                            !META-INF.cxf.osgi,
                            antlr*;resolution:=optional,
                            com.ibm*;resolution:=optional,
                            com.sun*;resolution:=optional,
                            com.ctc.wstx.msv*;resolution:=optional,
                            org.codehaus.stax2*;resolution:=optional,
                            commonj.sdo*;resolution:=optional,
                            javax.ws.rs*;resolution:=optional,
                            javax.resource*;resolution:=optional,
                            javax.xml.soap,
                            junit.framework*;resolution:=optional,
                            net.sf.cglib*;resolution:=optional;version="[2.1.3, 3.0.0)",
                            org.apache.abdera*;resolution:=optional;version="[1.0,2)",
                            org.apache.commons.lang*;resolution:=optional;version="[2.4,3)",
                            org.apache.commons.codec*;resolution:=optional,
                            org.apache.commons.pool*;resolution:=optional,
                            org.apache.log4j*;resolution:=optional,
                            org.apache.mina*;resolution:=optional,
                            org.apache.tuscany.sdo*;resolution:=optional,
                            org.apache.velocity*;resolution:=optional,
                            org.apache.xmlbeans*;resolution:=optional,
                            org.apache.xml.security*;resolution:=optional,
                            org.apache.ws.security*;resolution:=optional,
                            org.codehaus.jra*;resolution:=optional,
                            org.codehaus.jettison*;resolution:=optional,
                            org.eclipse.emf*;resolution:=optional,
                            org.eclipse.jetty*;resolution:=optional,
                            org.jaxen*;resolution:=optional,
                            org.jdom*;resolution:=optional,
                            org.junit*;resolution:=optional,
                            org.mozilla.javascript*;resolution:=optional,
                            org.objectweb.asm*;version="[2.0,4)",
                            org.slf4j*;resolution:=optional;version="[1.5,2)",
                            org.springframework*;resolution:=optional;version="[2.5,4)",
                            javax.activation;version="[0.0,2)",
                            javax.annotation;version="[0.0,2)",
                            javax.jms;resolution:=optional;version="[0.0,2)",
                            javax.jws*;version="[0.0,3)",
                            javax.mail*;version="[0.0,2)",
                            javax.servlet.*;version="[0.0,4)";resolution:=optional,
                            javax.xml.stream*;version="[0.0,2)",
                            javax.xml.ws.spi.http*;version="[0.0,3)";resolution:=optional,
                            javax.xml.ws*;version="[0.0,3)",
                            *</Import-Package>
            <Export-Package>org.apache.cxf.*;version=${cxf.osgi.version.clean};-split-package:=merge-first,
                            '=META-INF.cxf.osgi',
                            '=META-INF.cxf'</Export-Package>
            <_failok>true
            <_nouses>true
            <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))
          </instructions>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin
        <executions>
          <execution>
            <phase>package
            <goals>
              <goal>shade
            </goals>
            <configuration>
              <shadedGroupFilter>org.apache.cxf
              <shadedArtifactAttached>false
              <createSourcesJar>${createSourcesJar}
              <promoteTransitiveDependencies>true
              <createDependencyReducedPom>true
              <filters>
                <filter>
                  <artifact>${project.groupId}:${project.artifactId}
                  <excludes>
                    <exclude>org/**
                  </excludes>
                </filter>
              </filters>
              <transformers>
                <transformer>
                  <projectName>Apache CXF
                </transformer>
                <transformer>
                  <resource>META-INF/spring.handlers
                </transformer>
                <transformer>
                  <resource>META-INF/services/com.sun.tools.xjc.Plugin
                </transformer>
                <transformer>
                  <resource>META-INF/spring.schemas
                </transformer>
                <transformer>
                  <resource>META-INF/cxf/cxf.extension
                </transformer>
                <transformer>
                  <resource>META-INF/extensions.xml
                </transformer>
                <transformer>
                  <resource>META-INF/cxf/extensions.xml
                </transformer>
                <transformer>
                  <resource>META-INF/bus-extensions.xml
                </transformer>
                <transformer>
                  <resource>META-INF/cxf/bus-extensions.xml
                </transformer>
                <transformer>
                  <resource>META-INF/wsdl.plugin.xml
                </transformer>
                <transformer>
                  <resource>META-INF/tools.service.validator.xml
                </transformer>
                <transformer>
                  <resource>META-INF/tools-plugin.xml
                </transformer>
                <transformer>
                  <resource>META-INF/cxf/java2wsbeans.xml
                </transformer>
                <transformer />
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>deploy
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-dependency-plugin
            <executions>
              <execution>
                <id>unpack-plugin-sources
                <phase>generate-sources
                <goals>
                  <goal>unpack
                </goals>
                <configuration>
                  <artifactItems>
                    <artifactItem>
                      <groupId>org.apache.cxf
                      <artifactId>cxf-codegen-plugin
                      <version>${project.version}
                      <classifier>sources
                    </artifactItem>
                  </artifactItems>
                  <outputDirectory>${project.build.directory}/sources
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>org.apache.ws.commons.schema
      <artifactId>XmlSchema
      <version>1.4.7
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.codehaus.woodstox
      <artifactId>woodstox-core-asl
      <version>4.0.8
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.codehaus.woodstox
      <artifactId>stax2-api
      <version>3.0.2
      <scope>compile
      <exclusions>
        <exclusion>
          <artifactId>stax-api
          <groupId>javax.xml.stream
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-stax-api_1.0_spec
      <version>1.0.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-annotation_1.0_spec
      <version>1.1.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>javax.xml.bind
      <artifactId>jaxb-api
      <version>2.2.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.velocity
      <artifactId>velocity
      <version>1.6.4
      <scope>compile
    </dependency>
    <dependency>
      <groupId>commons-collections
      <artifactId>commons-collections
      <version>3.2.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>commons-lang
      <artifactId>commons-lang
      <version>2.5
      <scope>compile
    </dependency>
    <dependency>
      <groupId>oro
      <artifactId>oro
      <version>2.0.8
      <scope>compile
    </dependency>
    <dependency>
      <groupId>wsdl4j
      <artifactId>wsdl4j
      <version>1.6.2
      <scope>compile
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind
      <artifactId>jaxb-xjc
      <version>2.2.1.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>com.sun.xml.bind
      <artifactId>jaxb-impl
      <version>2.2.1.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.neethi
      <artifactId>neethi
      <version>2.0.4
      <scope>compile
    </dependency>
    <dependency>
      <groupId>commons-logging
      <artifactId>commons-logging
      <version>1.1.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-activation_1.1_spec
      <version>1.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-javamail_1.4_spec
      <version>1.7.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>javax.xml.soap
      <artifactId>saaj-api
      <version>1.3
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-ws-metadata_2.0_spec
      <version>1.1.3
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-jaxws_2.2_spec
      <version>1.0
      <scope>compile
    </dependency>
    <dependency>
      <groupId>xml-resolver
      <artifactId>xml-resolver
      <version>1.2
      <scope>compile
    </dependency>
    <dependency>
      <groupId>asm
      <artifactId>asm
      <version>3.3
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-web
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>aopalliance
      <artifactId>aopalliance
      <version>1.0
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-beans
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-core
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-asm
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-context
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-aop
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-expression
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>com.sun.xml.messaging.saaj
      <artifactId>saaj-impl
      <version>1.3.2
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.antlr
      <artifactId>antlr
      <version>3.2
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.antlr
      <artifactId>antlr-runtime
      <version>3.2
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.antlr
      <artifactId>stringtemplate
      <version>3.2
      <scope>compile
    </dependency>
    <dependency>
      <groupId>antlr
      <artifactId>antlr
      <version>2.7.7
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.xmlbeans
      <artifactId>xmlbeans
      <version>2.4.0
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty
      <artifactId>jetty-server
      <version>7.2.0.v20101020
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty
      <artifactId>jetty-continuation
      <version>7.2.0.v20101020
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty
      <artifactId>jetty-http
      <version>7.2.0.v20101020
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty
      <artifactId>jetty-io
      <version>7.2.0.v20101020
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.eclipse.jetty
      <artifactId>jetty-util
      <version>7.2.0.v20101020
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.slf4j
      <artifactId>slf4j-api
      <version>1.6.1
      <scope>runtime
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-servlet_3.0_spec
      <version>1.0
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-jms_1.1_spec
      <version>1.1.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>commons-pool
      <artifactId>commons-pool
      <version>1.5.5
      <scope>runtime
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-jms
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.springframework
      <artifactId>spring-tx
      <version>3.0.5.RELEASE
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.codehaus.jra
      <artifactId>jra
      <version>1.0-alpha-4
      <scope>compile
    </dependency>
    <dependency>
      <groupId>rhino
      <artifactId>js
      <version>1.7R2
      <scope>compile
    </dependency>
    <dependency>
      <groupId>javax.ws.rs
      <artifactId>jsr311-api
      <version>1.1.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.codehaus.jettison
      <artifactId>jettison
      <version>1.2
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.ws.security
      <artifactId>wss4j
      <version>1.5.10
      <scope>compile
    </dependency>
    <dependency>
      <groupId>org.apache.santuario
      <artifactId>xmlsec
      <version>1.4.4
      <scope>compile
    </dependency>
    <dependency>
      <groupId>xalan
      <artifactId>xalan
      <version>2.7.1
      <scope>compile
    </dependency>
    <dependency>
      <groupId>xalan
      <artifactId>serializer
      <version>2.7.1
      <scope>compile
      <exclusions>
        <exclusion>
          <artifactId>xml-apis
          <groupId>xml-apis
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.bouncycastle
      <artifactId>bcprov-jdk15
      <version>1.45
      <scope>runtime
    </dependency>
    <dependency>
      <groupId>com.sun.xml.fastinfoset
      <artifactId>FastInfoset
      <version>1.2.8
      <scope>compile
      <optional>true
    </dependency>
  </dependencies>
  <properties>
    <bundle.symbolic.name>${project.groupId}.bundle
  </properties>
</project>

Other Apache CXF examples (source code examples)

Here is a short list of links related to this Apache CXF dependency-reduced-pom.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

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.