|
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"> <parent> <groupId>org.apache.cxf <artifactId>cxf <version>2.3.1 </parent> <modelVersion>4.0.0 <groupId>org.apache.cxf <artifactId>cxf-parent <version>2.3.1 <name>Apache CXF Parent <url>http://cxf.apache.org <packaging>pom <properties> <cxf.surefire.fork.mode>once <cxf.surefire.format>brief <cxf.surefire.usefile>false <cxf.surefire.parallel.mode /> <cxf.surefire.fork.vmargs>-ea <cxf.server.launcher.vmargs>-ea <cxf.compile.flags>-Xlint:unchecked,deprecation,fallthrough,finally <cxf.compile.show.deprecation>true <cxf.eclipse.outputDirectory>${basedir}/target/classes <cxf.saaj.impl.groupId>com.sun.xml.messaging.saaj <cxf.saaj.impl.artifactId>saaj-impl <cxf.saaj.impl.version>1.3.2 <!-- please maintain alphabetical order here --> <cxf.abdera.version>1.1 <cxf.activemq.version>5.4.1 <cxf.derby.version>10.2.2.0 <cxf.jaxb21.version>2.1 <cxf.jaxb21.impl.version>2.1.13 <cxf.jaxb21.xjc.version>2.1.13 <cxf.jaxb22.version>2.2.1 <cxf.jaxb22.impl.version>2.2.1.1 <cxf.jaxb22.xjc.version>2.2.1.1 <!-- by default, we use jaxb 2.1, but java5 profile will override to 2.2 --> <cxf.jaxb.version>${cxf.jaxb21.version} <cxf.jaxb.impl.version>${cxf.jaxb21.impl.version} <cxf.jaxb.xjc.version>${cxf.jaxb21.xjc.version} <cxf.specs.jaxws.api.version>1.0 <cxf.jdom.version>1.0 <cxf.jetty.version>7.2.0.v20101020 <cxf.msv.version>2010.1 <cxf.rhino.version>1.7R2 <cxf.saaj.version>1.3 <cxf.servlet-api.group>org.apache.geronimo.specs <cxf.servlet-api.artifact>geronimo-servlet_3.0_spec <cxf.servlet-api.version>1.0 <cxf.spring.version>3.0.5.RELEASE <cxf.spring.mock>spring-test <cxf.stax.impl.groupId>org.codehaus.woodstox <cxf.stax.impl.artifactId>woodstox-core-asl <cxf.stax.impl.version>4.0.8 <cxf.wsdl4j.version>1.6.2 <cxf.xmlbeans.version>2.4.0 <cxf.xmlschema.version>1.4.7 <cxf.checkstyle.extension /> <cxf.spring.validation.mode>VALIDATION_AUTO <cxf.downloadSources>true <cxf.pmd.eclipse.ruleset>cxf-pmd-ruleset.xml <cxf.resources.base.path /> </properties> <build> <resources> <resource> <directory>src/main/java <excludes> <exclude>**/*.java </excludes> </resource> <resource> <directory>src/main/resources <includes> <include>**/* </includes> </resource> <resource> <directory>src/main/resources-filtered <includes> <include>** </includes> <filtering>true </resource> <resource> <directory>target/generated/src/main/resources <includes> <include>** </includes> </resource> </resources> <testResources> <testResource> <directory>src/test/java <excludes> <exclude>**/*.java </excludes> </testResource> <testResource> <directory>src/test/resources <includes> <include>** </includes> </testResource> <testResource> <directory>target/generated/src/test/resources <includes> <include>** </includes> </testResource> </testResources> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-eclipse-plugin <configuration> <outputDirectory>${cxf.eclipse.outputDirectory} <buildcommands> <java.lang.String>org.eclipse.jdt.core.javabuilder <java.lang.String>net.sf.eclipsecs.core.CheckstyleBuilder <java.lang.String>net.sourceforge.pmd.eclipse.plugin.pmdBuilder </buildcommands> <projectnatures> <nature>org.eclipse.jdt.core.javanature <nature>net.sf.eclipsecs.core.CheckstyleNature <nature>net.sourceforge.pmd.eclipse.plugin.pmdNature </projectnatures> <ajdtVersion>none <additionalConfig> <file> <name>.checkstyle <location>/cxf-eclipse-checkstyle${cxf.checkstyle.extension} </file> <file> <name>.pmd <location>/cxf-eclipse-pmd </file> <file> <name>.ruleset <location>/${cxf.pmd.eclipse.ruleset} </file> </additionalConfig> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-checkstyle-plugin <version>2.6 <dependencies> <dependency> <groupId>com.puppycrawl.tools <artifactId>checkstyle <version>5.2 </dependency> <dependency> <groupId>org.apache.cxf.build-utils <artifactId>cxf-buildtools <version>${cxf.build-utils.version} </dependency> </dependencies> <configuration> <encoding>UTF-8 </configuration> <executions> <execution> <id>validate <phase>validate <configuration> <configLocation>${cxf.resources.base.path}cxf-checkstyle${cxf.checkstyle.extension}.xml <consoleOutput>true <failsOnError>true <linkXRef>false <suppressionsLocation>${cxf.resources.base.path}cxf-checkstyle-suppressions.xml <sourceDirectory>${basedir}/src <excludes>**/archetype-resources/**/*.java </configuration> <goals> <goal>checkstyle </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-pmd-plugin <version>2.5 <dependencies> <dependency> <groupId>org.apache.cxf.build-utils <artifactId>cxf-buildtools <version>${cxf.build-utils.version} </dependency> </dependencies> <configuration> <rulesets> <ruleset>${cxf.resources.base.path}cxf-pmd-ruleset.xml <ruleset>${cxf.resources.base.path}cxf-pmd-custom.xml </rulesets> <sourceEncoding>UTF-8 <targetJdk>1.5 <linkXRef>false <includeTests>true <verbose>true <excludeRoots> <excludeRoot>${basedir}/src/main/generated </excludeRoots> </configuration> <executions> <execution> <id>validate <phase>validate <goals> <goal>check </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-surefire-plugin <configuration> <includes> <include>**/*Test.java <include>**/*TestCase.java <include>**/*TestCases.java </includes> <!-- do not exclude **/Abstract*Test.java **/Abstract*TestCase.java --> <excludes> <exclude>**/*$* </excludes> <!--disableXmlReport>true <reportFormat>${cxf.surefire.format} <useFile>${cxf.surefire.usefile} <forkMode>${cxf.surefire.fork.mode} <childDelegation>false <argLine>${cxf.surefire.fork.vmargs} <parallel>${cxf.surefire.parallel.mode} <systemPropertyVariables> <useRandomPorts>true <cxf.validateServiceSchemas>${cxf.validateServices} <java.awt.headless>${java.awt.headless} <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties <org.apache.activemq.default.directory.prefix>${basedir}/target/ActiveMQ/ <derby.system.home>${basedir}/target/derby <spring.validation.mode>${cxf.spring.validation.mode} <server.launcher.vmargs>${cxf.server.launcher.vmargs} <!-- If we close the port after a client in the same JVM has opened a keep-alive connection, on some Linux's, the socket remains consumed until some timeout occurs. That may cause some tests to timeout/hang. --> <org.apache.cxf.transports.http_jetty.DontClosePort>false </systemPropertyVariables> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.cxf.build-utils <artifactId>cxf-xml2fastinfoset-plugin <version>${cxf.build-utils.version} <configuration> <includes> <include>META-INF/cxf/cxf*.xml </includes> <outputDirectory>target/generated/src/main/resources </configuration> <executions> <execution> <id>xml2fastinfoset <phase>generate-sources <goals> <goal>xml2fastinfoset </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-remote-resources-plugin <version>1.1 <dependencies> <dependency> <groupId>org.apache.cxf.build-utils <artifactId>cxf-buildtools <version>${cxf.build-utils.version} </dependency> </dependencies> <executions> <execution> <goals> <goal>process </goals> <configuration> <resourceBundles> <resourceBundle>org.apache:apache-jar-resource-bundle:1.4 </resourceBundles> <supplementalModels> <supplementalModel>notice-supplements.xml </supplementalModels> <properties> <projectName>Apache CXF </properties> </configuration> </execution> </executions> </plugin> </plugins> <defaultGoal>install </build> <dependencyManagement> <dependencies> <dependency> <groupId>javax.ws.rs <artifactId>jsr311-api <version>1.1.1 </dependency> <dependency> <groupId>cglib <artifactId>cglib-nodep <version>2.1_3 </dependency> <dependency> <groupId>com.sun.xml.fastinfoset <artifactId>FastInfoset <version>1.2.8 </dependency> <dependency> <groupId>junit <artifactId>junit <version>4.8.1 <scope>test </dependency> <dependency> <groupId>org.apache.maven <artifactId>maven-plugin-api <version>2.0.4 <scope>provided <exclusions> <exclusion> <groupId>junit <artifactId>junit </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven <artifactId>maven-project <version>2.0.4 <scope>provided <exclusions> <exclusion> <groupId>junit <artifactId>junit </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven <artifactId>maven-artifact <scope>provided <version>2.0.4 </dependency> <dependency> <groupId>org.apache.maven <artifactId>maven-core <scope>provided <version>2.0.4 </dependency> <dependency> <groupId>httpunit <artifactId>httpunit <version>1.6.2 <exclusions> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>xerces <artifactId>xercesImpl </exclusion> <exclusion> <groupId>xerces <artifactId>xmlParserAPIs </exclusion> <exclusion> <groupId>jtidy <artifactId>jtidy </exclusion> </exclusions> </dependency> <dependency> <groupId>org.codehaus.jra <artifactId>jra <version>1.0-alpha-4 </dependency> <dependency> <groupId>jtidy <artifactId>jtidy <version>4aug2000r7-dev </dependency> <dependency> <groupId>org.apache.ant <artifactId>ant <version>1.8.1 </dependency> <dependency> <groupId>org.apache.ant <artifactId>ant-nodeps <version>1.8.1 </dependency> <dependency> <groupId>com.sun.xml.parsers <artifactId>jaxp-ri <version>1.4.2 </dependency> <dependency> <groupId>org.antlr <artifactId>antlr <version>3.2 </dependency> <dependency> <groupId>org.apache.servicemix.specs <artifactId>org.apache.servicemix.specs.jbi-api-1.0 <version>1.5.0 <scope>provided </dependency> <dependency> <groupId>org.apache.neethi <artifactId>neethi <version>2.0.4 <exclusions> <exclusion> <groupId>log4j <artifactId>log4j </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>org.apache.ws.commons.axiom <artifactId>axiom-impl </exclusion> <exclusion> <groupId>org.apache.ws.commons.axiom <artifactId>axiom-parent </exclusion> <exclusion> <groupId>org.apache.ws.commons.axiom <artifactId>axiom-api </exclusion> <exclusion> <groupId>woodstox <artifactId>wstx-asl </exclusion> <exclusion> <groupId>org.codehaus.woodstox <artifactId>wstx-asl </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-stax-api_1.0_spec <version>1.0.1 </dependency> <dependency> <groupId>org.codehaus.jettison <artifactId>jettison <version>1.2 <exclusions> <exclusion> <groupId>stax <artifactId>stax-api </exclusion> </exclusions> </dependency> <dependency> <groupId>${cxf.stax.impl.groupId} <artifactId>${cxf.stax.impl.artifactId} <version>${cxf.stax.impl.version} <!-- these are motivated by Woodstox, but they can't hurt with others. --> <exclusions> <exclusion> <groupId>stax <artifactId>stax-api </exclusion> <!-- this one comes from sjsxp --> <exclusion> <groupId>javax.xml.stream <artifactId>stax-api </exclusion> </exclusions> </dependency> <dependency> <groupId>org.slf4j <artifactId>slf4j-jdk14 <version>1.6.1 </dependency> <dependency> <groupId>org.slf4j <artifactId>slf4j-api <version>1.6.1 </dependency> <dependency> <groupId>org.eclipse.jetty <artifactId>jetty-server <version>${cxf.jetty.version} <exclusions> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.jetty <artifactId>jetty-webapp <version>${cxf.jetty.version} </dependency> <dependency> <groupId>org.eclipse.jetty <artifactId>jetty-servlet <version>${cxf.jetty.version} </dependency> <dependency> <groupId>xalan <artifactId>xalan <version>2.7.1 <exclusions> <exclusion> <groupId>xml-apis <artifactId>xml-apis </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.ws.commons.schema <artifactId>XmlSchema <version>${cxf.xmlschema.version} <exclusions> <!-- on IBM jdk, XmlSchema pulls these in --> <exclusion> <groupId>org.apache.bcel <artifactId>bcel </exclusion> <exclusion> <groupId>xalan <artifactId>xalan </exclusion> </exclusions> </dependency> <dependency> <groupId>javax.xml.soap <artifactId>saaj-api <version>${cxf.saaj.version} <exclusions> <exclusion> <groupId>javax.activation <artifactId>activation </exclusion> <exclusion> <groupId>activation <artifactId>activation </exclusion> </exclusions> </dependency> <dependency> <groupId>javax.xml.bind <artifactId>jaxb-api <version>${cxf.jaxb.version} <exclusions> <exclusion> <groupId>javax.xml.bind <artifactId>jsr173_api </exclusion> <exclusion> <groupId>javax.xml <artifactId>jsr173 </exclusion> <exclusion> <groupId>javax.xml.stream <artifactId>stax-api </exclusion> <exclusion> <groupId>javax.activation <artifactId>activation </exclusion> </exclusions> </dependency> <dependency> <groupId>${cxf.saaj.impl.groupId} <artifactId>${cxf.saaj.impl.artifactId} <version>${cxf.saaj.impl.version} <exclusions> <exclusion> <groupId>javax.activation <artifactId>activation </exclusion> <exclusion> <groupId>activation <artifactId>activation </exclusion> </exclusions> </dependency> <dependency> <groupId>com.sun.xml.bind <artifactId>jaxb-impl <version>${cxf.jaxb.impl.version} <exclusions> <exclusion> <groupId>javax.xml.bind <artifactId>jsr173_api </exclusion> <exclusion> <groupId>javax.xml <artifactId>jsr173 </exclusion> <exclusion> <groupId>javax.activation <artifactId>activation </exclusion> <exclusion> <groupId>javax.xml.bind <artifactId>activation </exclusion> <exclusion> <groupId>javax.xml.bind <artifactId>jaxb-api </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework <artifactId>spring-jms <version>${cxf.spring.version} </dependency> <dependency> <groupId>org.springframework <artifactId>spring-tx <version>${cxf.spring.version} </dependency> <dependency> <groupId>org.springframework <artifactId>spring-core <version>${cxf.spring.version} <exclusions> <exclusion> <groupId>log4j <artifactId>log4j </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>logkit <artifactId>logkit </exclusion> <exclusion> <groupId>avalon-framework <artifactId>avalon-framework </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework <artifactId>spring-beans <version>${cxf.spring.version} <exclusions> <exclusion> <groupId>log4j <artifactId>log4j </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>logkit <artifactId>logkit </exclusion> <exclusion> <groupId>avalon-framework <artifactId>avalon-framework </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework <artifactId>spring-context <version>${cxf.spring.version} <exclusions> <exclusion> <groupId>log4j <artifactId>log4j </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>logkit <artifactId>logkit </exclusion> <exclusion> <groupId>avalon-framework <artifactId>avalon-framework </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework <artifactId>spring-web <version>${cxf.spring.version} <exclusions> <exclusion> <groupId>log4j <artifactId>log4j </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>logkit <artifactId>logkit </exclusion> <exclusion> <groupId>avalon-framework <artifactId>avalon-framework </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework <artifactId>spring-webmvc <version>${cxf.spring.version} <exclusions> <exclusion> <groupId>log4j <artifactId>log4j </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>logkit <artifactId>logkit </exclusion> <exclusion> <groupId>avalon-framework <artifactId>avalon-framework </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework <artifactId>spring-aop <version>${cxf.spring.version} <exclusions> <exclusion> <groupId>log4j <artifactId>log4j </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>logkit <artifactId>logkit </exclusion> <exclusion> <groupId>avalon-framework <artifactId>avalon-framework </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.security <artifactId>spring-security-core <version>2.0.4 </dependency> <dependency> <groupId>org.springframework.security <artifactId>spring-security-core-tiger <version>2.0.4 <exclusions> <exclusion> <groupId>org.springframework <artifactId>spring-core </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-dao </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-jdbc </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-remoting </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-support </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.security <artifactId>spring-security-acl <version>2.0.4 <exclusions> <exclusion> <groupId>org.springframework <artifactId>spring-core </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-dao </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-jdbc </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-remoting </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-support </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework <artifactId>spring-dao <version>2.0.8 <exclusions> <exclusion> <groupId>org.springframework <artifactId>spring-jdbc </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-remoting </exclusion> <exclusion> <groupId>org.springframework <artifactId>spring-support </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework <artifactId>${cxf.spring.mock} <version>${cxf.spring.version} </dependency> <dependency> <groupId>commons-httpclient <artifactId>commons-httpclient <version>3.1 </dependency> <dependency> <groupId>commons-codec <artifactId>commons-codec <version>1.4 </dependency> <dependency> <groupId>commons-pool <artifactId>commons-pool <version>1.5.5 </dependency> <dependency> <groupId>commons-logging <artifactId>commons-logging <version>1.1.1 <exclusions> <exclusion> <groupId>log4j <artifactId>log4j </exclusion> <exclusion> <groupId>logkit <artifactId>logkit </exclusion> <exclusion> <groupId>avalon-framework <artifactId>avalon-framework </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> </exclusions> </dependency> <dependency> <groupId>org.easymock <artifactId>easymockclassextension <version>2.4 </dependency> <dependency> <groupId>asm <artifactId>asm <version>3.3 </dependency> <dependency> <groupId>org.apache.velocity <artifactId>velocity <version>1.6.4 </dependency> <dependency> <groupId>wsdl4j <artifactId>wsdl4j <version>${cxf.wsdl4j.version} </dependency> <dependency> <groupId>com.sun.xml.bind <artifactId>jaxb-xjc <version>${cxf.jaxb.xjc.version} <exclusions> <exclusion> <groupId>javax.xml.bind <artifactId>jsr173_api </exclusion> <exclusion> <groupId>com.sun.xml.bind <artifactId>jaxb-impl </exclusion> </exclusions> </dependency> <dependency> <groupId>jaxme <artifactId>jaxme2 <version>0.5.1 </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-annotation_1.0_spec <version>1.1.1 </dependency> <dependency> <groupId>${cxf.servlet-api.group} <artifactId>${cxf.servlet-api.artifact} <version>${cxf.servlet-api.version} </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-javamail_1.4_spec <version>1.7.1 </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-activation_1.1_spec <version>1.1 </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-j2ee-management_1.1_spec <version>1.0.1 </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-jms_1.1_spec <version>1.1.1 </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-j2ee-connector_1.5_spec <version>2.0.0 </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-ejb_3.0_spec <version>1.0.1 </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-ws-metadata_2.0_spec <version>1.1.3 </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-jaxws_2.2_spec <version>${cxf.specs.jaxws.api.version} </dependency> <dependency> <groupId>org.apache.activemq <artifactId>activemq-core <version>${cxf.activemq.version} <exclusions> <exclusion> <groupId>org.apache.geronimo.specs <artifactId>geronimo-jms_1.1_spec </exclusion> </exclusions> </dependency> <dependency> <groupId>rhino <artifactId>js <version>${cxf.rhino.version} </dependency> <dependency> <groupId>org.apache.xmlbeans <artifactId>xmlbeans <version>${cxf.xmlbeans.version} <exclusions> <exclusion> <groupId>stax <artifactId>stax-api </exclusion> </exclusions> </dependency> <dependency> <groupId>xml-resolver <artifactId>xml-resolver <version>1.2 </dependency> <dependency> <groupId>commons-lang <artifactId>commons-lang <version>2.5 </dependency> <dependency> <groupId>org.bouncycastle <artifactId>bcprov-jdk15 <version>1.45 </dependency> <dependency> <groupId>org.apache.abdera <artifactId>abdera-core <version>${cxf.abdera.version} <exclusions> <exclusion> <groupId>org.apache.geronimo.specs <artifactId>geronimo-activation_1.0.2_spec </exclusion> <exclusion> <groupId>org.apache.geronimo.specs <artifactId>geronimo-stax-api_1.0_spec </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.abdera <artifactId>abdera-extensions-json <version>${cxf.abdera.version} <exclusions> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>org.apache.abdera <artifactId>abdera-client </exclusion> <exclusion> <groupId>org.apache.abdera <artifactId>abdera-server </exclusion> <exclusion> <groupId>org.apache.abdera <artifactId>abdera-extensions-html </exclusion> <exclusion> <groupId>org.apache.geronimo.specs <artifactId>geronimo-activation_1.0.2_spec </exclusion> <exclusion> <groupId>stax <artifactId>stax-api </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.abdera <artifactId>abdera-parser <version>${cxf.abdera.version} <exclusions> <exclusion> <groupId>org.apache.geronimo.specs <artifactId>geronimo-activation_1.1_spec </exclusion> <exclusion> <groupId>org.apache.geronimo.specs <artifactId>geronimo-stax-api_1.0_spec </exclusion> <exclusion> <groupId>javax.mail <artifactId>mail </exclusion> <exclusion> <groupId>xml-apis <artifactId>xml-apis </exclusion> <exclusion> <groupId>stax <artifactId>stax-api </exclusion> <exclusion> <artifactId>xmlParserAPIs <groupId>xerces </exclusion> <exclusion> <artifactId>xercesImpl <groupId>xerces </exclusion> <exclusion> <artifactId>xom <groupId>xom </exclusion> <exclusion> <artifactId>xalan <groupId>xalan </exclusion> <exclusion> <artifactId>xml-apis <groupId>xml-apis </exclusion> <exclusion> <groupId>org.codehaus.woodstox <artifactId>wstx-asl </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.ws.commons.axiom <artifactId>axiom-api <version>1.2.9 <exclusions> <exclusion> <groupId>javax.mail <artifactId>mail </exclusion> <exclusion> <groupId>xml-apis <artifactId>xml-apis </exclusion> <exclusion> <groupId>stax <artifactId>stax-api </exclusion> <exclusion> <artifactId>xmlParserAPIs <groupId>xerces </exclusion> <exclusion> <artifactId>xercesImpl <groupId>xerces </exclusion> <exclusion> <artifactId>xom <groupId>xom </exclusion> <exclusion> <artifactId>xalan <groupId>xalan </exclusion> <exclusion> <artifactId>xml-apis <groupId>xml-apis </exclusion> <exclusion> <groupId>org.codehaus.woodstox <artifactId>wstx-asl </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.ws.commons.axiom <artifactId>axiom-impl <version>1.2.9 <exclusions> <exclusion> <groupId>javax.mail <artifactId>mail </exclusion> <exclusion> <groupId>xml-apis <artifactId>xml-apis </exclusion> <exclusion> <groupId>stax <artifactId>stax-api </exclusion> </exclusions> </dependency> <dependency> <groupId>jaxen <artifactId>jaxen <version>1.1.1 <exclusions> <exclusion> <artifactId>jdom <groupId>jdom </exclusion> <exclusion> <artifactId>dom4j <groupId>dom4j </exclusion> <exclusion> <artifactId>xmlParserAPIs <groupId>xerces </exclusion> <exclusion> <artifactId>xercesImpl <groupId>xerces </exclusion> <exclusion> <artifactId>xom <groupId>xom </exclusion> <exclusion> <artifactId>xalan <groupId>xalan </exclusion> <exclusion> <artifactId>xml-apis <groupId>xml-apis </exclusion> </exclusions> </dependency> <dependency> <groupId>xerces <artifactId>xercesImpl <version>2.9.1 <exclusions> <exclusion> <artifactId>xml-apis <groupId>xml-apis </exclusion> </exclusions> </dependency> <!-- if we use the new woodstox artifact, we're using the new version --> <dependency> <groupId>org.codehaus.woodstox <artifactId>woodstox-core-asl <version>4.0.8 </dependency> <dependency> <groupId>net.java.dev.msv <artifactId>msv-core <version>${cxf.msv.version} </dependency> </dependencies> </dependencyManagement> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-project-info-reports-plugin <version>2.2 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-surefire-report-plugin <version>2.5 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-javadoc-plugin <version>2.7 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-checkstyle-plugin <version>2.6 <configuration> <encoding>UTF-8 <configLocation>cxf-checkstyle${cxf.checkstyle.extension}.xml <consoleOutput>true <failsOnError>true <linkXRef>false <suppressionsLocation>cxf-checkstyle-suppressions.xml <sourceDirectory>${basedir}/src <excludes>**/archetype-resources/**/*.java </configuration> </plugin> </plugins> </reporting> <profiles> <profile> <id>jdk15 <activation> <jdk>1.5 </activation> <properties> <cxf.jaxb.version>${cxf.jaxb22.version} <cxf.jaxb.impl.version>${cxf.jaxb22.impl.version} <cxf.jaxb.xjc.version>${cxf.jaxb22.impl.version} <jdk.version>1.5 </properties> </profile> <profile> <id>validateServices <properties> <cxf.validateServices>true </properties> </profile> <profile> <!-- sjsxp is really the precursor to the jaxp-ri jars. However, getting the jaxp-ri jar to work on Java 5 requires endorsing it which is non-trivial in maven :-(. --> <id>sjsxp <properties> <cxf.stax.impl.groupId>com.sun.xml.stream <cxf.stax.impl.artifactId>sjsxp <cxf.stax.impl.version>1.0.1 </properties> </profile> <profile> <!-- This really only works with Java 6 as the classes are identically named with the same classes in the Java 5 JDK and the Java 5 versions get picked up instead --> <id>jaxpri <properties> <cxf.stax.impl.groupId>com.sun.xml.parsers <cxf.stax.impl.artifactId>jaxp-ri <cxf.stax.impl.version>1.4.2 </properties> </profile> <profile> <id>axis2-saaj <properties> <cxf.saaj.impl.groupId>org.apache.axis2 <cxf.saaj.impl.artifactId>axis2-saaj <cxf.saaj.impl.version>1.4.1 </properties> </profile> <profile> <id>fastinstall <properties> <maven.test.skip>true <pmd.skip>true <checkstyle.skip>true </properties> </profile> <profile> <id>nospringvalidation <properties> <cxf.spring.validation.mode>VALIDATION_NONE </properties> </profile> <profile> <id>nochecks <properties> <pmd.skip>true <checkstyle.skip>true </properties> </profile> <profile> <!-- default profile enables checkstyle and Xlint stuff --> <id>sourcecheck <activation> <activeByDefault>true </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-checkstyle-plugin </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <configuration> <showDeprecation>${cxf.compile.show.deprecation} <showWarnings>true <compilerArgument>${cxf.compile.flags} </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-pmd-plugin </plugin> </plugins> </build> </profile> <profile> <id>set.eclipse.output <properties> <cxf.eclipse.outputDirectory>${basedir}/eclipse-classes </properties> </profile> <profile> <!-- pmd and checkstyle, no tests. --> <id>justsourcecheck <properties> <maven.test.skip.exec>true </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-checkstyle-plugin </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <configuration> <showDeprecation>true <showWarnings>true <compilerArgument>${cxf.compile.flags} </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-pmd-plugin </plugin> </plugins> </build> </profile> <profile> <id>setup.eclipse <build> <defaultGoal>process-test-sources <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-eclipse-plugin <inherited>true <executions> <execution> <id>setup.eclipse.project <phase>process-test-sources <goals> <goal>eclipse </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>ibmjdk <activation> <property> <name>java.vendor <value>IBM Corporation </property> </activation> <dependencies> <dependency> <groupId>xalan <artifactId>xalan </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-checkstyle-plugin </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <configuration> <showDeprecation>true <showWarnings>true <compilerArgument>${cxf.compile.flags} <fork>true <maxmem>512M </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-pmd-plugin </plugin> </plugins> </build> </profile> <profile> <id>spring2 <properties> <cxf.spring.version>2.5.6.SEC02 </properties> </profile> <profile> <!-- Profile to clean even if you do not have the cxf plugins in your local mavven repo --> <id>clean <pluginRepositories> <pluginRepository> <id>apache.snapshots <url>http://repository.apache.org/snapshots/ </pluginRepository> </pluginRepositories> <build> <defaultGoal>clean </build> </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.