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, jax-rs, software, software, specification-title, 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-jaxrs
  <packaging>bundle
  <name>Apache CXF JAX-RS Bundle Jar
  <version>2.3.1
  <url>http://cxf.apache.org
  <build>
    <resources>
      <resource>
        <directory>src/main/java
        <includes>
          <include>**/*
        </includes>
      </resource>
    </resources>
    <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.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.*,
                            !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,
                            javax.ws.rs*,
                            repackage;resolution:=optional,
                            javax.resource*;resolution:=optional,
                            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.velocity*;resolution:=optional,
                            org.apache.xmlbeans*;resolution:=optional,
                            org.codehaus.jra*;resolution:=optional,
                            org.codehaus.jettison*;resolution:=optional,
                            org.jaxen*;resolution:=optional,
                            org.jdom*;resolution:=optional,
                            org.junit*;resolution:=optional,
                            org.eclipse.jetty*;resolution:=optional,
                            org.mozilla.javascript*;resolution:=optional,
                            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*;version="[0.0,3)";resolution:=optional,
                            *</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/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/cxf/java2wsbeans.xml
                </transformer>
                <transformer />
              </transformers>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <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.neethi
      <artifactId>neethi
      <version>2.0.4
      <scope>compile
    </dependency>
    <dependency>
      <groupId>wsdl4j
      <artifactId>wsdl4j
      <version>1.6.2
      <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>com.sun.xml.bind
      <artifactId>jaxb-impl
      <version>2.2.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>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>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>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.xmlbeans
      <artifactId>xmlbeans
      <version>2.4.0
      <scope>compile
    </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-jaxrs
  </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.