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

Apache CXF example source code file (pom.xml)

This example Apache CXF source code file (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, asf, asf, cxf, license, license, of, repository, repository, samples, see, see, snapshot, you

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.samples
    <artifactId>cxf-samples
    <packaging>pom
    <version>2.3.1
    <name>Apache CXF Samples
    <url>http://cxf.apache.org

    <properties>
        <!-- don't deploy the samples, kind of pointless -->
        <maven.deploy.skip>true
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.slf4j
            <artifactId>slf4j-jdk14
        </dependency>
    </dependencies>

    <modules>
        <module>in_jvm_transport
        <module>js_browser_client_simple
        <module>js_browser_client_java_first
        <module>java_first_jaxws_factory_bean
        <module>java_first_jms
        <module>jax_rs/content_negotiation
        <module>jax_rs/basic_https
        <module>jax_rs/basic
        <module>callback
        <module>wsdl_first_pure_xml
        <module>jaxws_dispatch_provider
        <module>wsdl_first_xmlbeans
        <module>wsdl_first_soap12
        <module>wsdl_first_dynamic_client
        <module>jms_queue
        <module>restful_dispatch
        <module>wsdl_first
        <module>aegis_standalone
        <module>java_first_jaxws
        <module>ws_rm
        <module>configuration_interceptor
        <module>java_first_spring_support
        <module>ws_security/ut
        <module>ws_security/ut_sign
        <module>ws_security/sign_enc
        <module>ws_security/ut_policy
        <module>mtom
        <module>jaxws_async
        <module>java_first_pojo
        <module>ws_policy
        <module>js_client
        <module>wsdl_first_https
        <module>ws_addressing
        <module>soap_header
        <module>jms-spec-demo
        <module>wsdl_first_xml_wrapped
        <module>restful_http_binding
        <module>aegis
        <module>jax_server_aegis_client
        <module>jaxws_handlers
        <module>wsdl_first_rpclit
        <module>jms_pubsub
        <module>jax_rs/spring_security

        <!--
        these are a bit fragile as they need to go off to external sites to get stuff like
        wsdl's and certs and such
        -->
        <module>ws_security/interopfest/wssc
        <module>ws_security/interopfest/wstrust10
        <module>ws_security/interopfest/wssec10
        <module>ws_security/interopfest/wssec11
        <!--module>ws_security/interopfest/wstrust13
    </modules>
    <dependencyManagement>
        <dependencies>
            <!-- 
            Pull in the cxf-parents as import scope to re-use the dependenecyManagement 
            sections of those poms.   Those sections define the versions of various third
            party deps that CXF used to build with and test with and we would like
            to make sure the same versions are used for the samples
            -->
            <dependency>
                <groupId>org.apache.cxf
                <artifactId>cxf-parent
                <version>${project.version}
                <type>pom
                <scope>import
            </dependency>
            <dependency>
                <groupId>org.apache.cxf
                <artifactId>cxf
                <version>${project.version}
                <type>pom
                <scope>import
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-compiler-plugin
                    <version>2.3.1
                    <configuration>
                        <source>1.5
                        <target>1.5
                    </configuration>
                </plugin>
                 <plugin>
                    <groupId>org.codehaus.mojo
                    <artifactId>exec-maven-plugin
                    <version>1.2
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins
                    <artifactId>maven-antrun-plugin
                    <version>1.4
                    <dependencies>
                        <dependency>
                            <groupId>org.apache.ant
                            <artifactId>ant-trax
                            <version>1.8.0
                        </dependency>
                    </dependencies>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <profiles>
        <profile>
            <id>snapshots
            <repositories>
                <repository>
                    <id>apache-snapshots
                    <name>Apache SNAPSHOT Repository
                    <url>https://repository.apache.org/content/groups/snapshots-group/
                    <snapshots>
                        <enabled>true
                    </snapshots>
                    <releases>
                        <enabled>false
                    </releases>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <id>apache-snapshots
                    <name>Apache Maven Plugin Snapshots
                    <url>https://repository.apache.org/content/groups/snapshots-group/
                    <releases>
                        <enabled>false
                    </releases>
                    <snapshots>
                        <enabled>true
                    </snapshots>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>

    <!--
     we turn off the deploy in the properties above, but deploy plugin will
     still barf without this section in the pom
     -->
    <distributionManagement>
         <repository>
             <id>apache.releases.https
             <name>Apache Release Distribution Repository
             <url>https://repository.apache.org/service/local/staging/deploy/maven2
         </repository>
         <snapshotRepository>
             <id>apache.snapshots.https
             <name>Apache Development Snapshot Repository
             <url>https://repository.apache.org/content/repositories/snapshots
             <uniqueVersion>false
         </snapshotRepository>
     </distributionManagement>

</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

 

new blog posts

 

Copyright 1998-2021 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.