|
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>cxf <version>2.3.1 <name>Apache CXF <url>http://cxf.apache.org <packaging>pom <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/cxf/tags/cxf-2.3.1 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/cxf/tags/cxf-2.3.1 </scm> <issueManagement> <system>jira <url>https://issues.apache.org/jira/browse/CXF </issueManagement> <prerequisites> <maven>2.0.9 </prerequisites> <properties> <cxf.compiler.fork>false <cxf.build-utils.version>2.3.1 <cxf.xjc-utils.version>2.3.0 <cxf.jdk.version>1.6 </properties> <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> <site> <id>apache.cxf.site <url>scpexe://people.apache.org/www/cxf.apache.org/cxf/mvn_site </site> </distributionManagement> <repositories> <repository> <id>apache.snapshots <url>http://repository.apache.org/snapshots/ <name>Apache Snapshot Repo <snapshots> <enabled>true </snapshots> <releases> <enabled>false </releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>apache.snapshots <url>http://repository.apache.org/snapshots/ <snapshots> <enabled>true </snapshots> <releases> <enabled>false </releases> </pluginRepository> </pluginRepositories> <inceptionYear>2006 <mailingLists> <mailingList> <name>Apache CXF User List <subscribe>users-subscribe@cxf.apache.org <unsubscribe>users-unsubscribe@cxf.apache.org <post>users@cxf.apache.org <archive>http://mail-archives.apache.org/mod_mbox/cxf-users </mailingList> <mailingList> <name>Apache CXF Developer List <subscribe>dev-subscribe@cxf.apache.org <unsubscribe>dev-unsubscribe@cxf.apache.org <post>dev@cxf.apache.org <archive>http://mail-archives.apache.org/mod_mbox/cxf-dev </mailingList> <mailingList> <name>Apache CXF Commits List <subscribe>commits-subscribe@cxf.apache.org <unsubscribe>commits-unsubscribe@cxf.apache.org <post>commits@cxf.apache.org <archive>http://mail-archives.apache.org/mod_mbox/cxf-commits </mailingList> <mailingList> <name>Apache CXF Issues List <subscribe>issues-subscribe@cxf.apache.org <unsubscribe>issues-unsubscribe@cxf.apache.org <post>issues@cxf.apache.org <archive>http://mail-archives.apache.org/mod_mbox/cxf-issues </mailingList> <mailingList> <name>Apache CXF Build Notifications List <subscribe>notifications-subscribe@cxf.apache.org <unsubscribe>notifications-unsubscribe@cxf.apache.org <post>notifications@cxf.apache.org <archive>http://mail-archives.apache.org/mod_mbox/cxf-notifications </mailingList> </mailingLists> <ciManagement> <system>Hudson <url>http://hudson.zones.apache.org/hudson/view/CXF/ <notifiers> <notifier> <type>mail <configuration> <address>notifications@cxf.apache.org </configuration> </notifier> </notifiers> </ciManagement> <licenses> <license> <name>The Apache Software License, Version 2.0 <url>http://www.apache.org/licenses/LICENSE-2.0.txt <distribution>repo </license> </licenses> <organization> <name>The Apache Software Foundation <url>http://www.apache.org/ </organization> <modules> <module>parent <module>common <module>api <module>tools <module>testutils <module>rt <module>integration <module>maven-plugins <!--module>test-samples <module>systests </modules> <profiles> <profile> <!-- default profile enables checkstyle and Xlint stuff --> <id>everything <modules> <module>distribution </modules> </profile> <profile> <!-- default profile enables checkstyle and Xlint stuff --> <id>rat <build> <plugins> <plugin> <groupId>org.apache.rat <artifactId>apache-rat-plugin <inherited>false <executions> <execution> <phase>verify <goals> <goal>check </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>setup.eclipse <properties> <eclipse.workspace.dir>${basedir}/../workspace </properties> <build> <defaultGoal>process-test-sources <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <version>2.3.2 <configuration> <source>${cxf.jdk.version} <target>${cxf.jdk.version} <maxmem>256M <fork>${cxf.compiler.fork} </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-eclipse-plugin <inherited>false <executions> <execution> <id>setup.eclipse.workspace <phase>process-test-sources <goals> <goal>configure-workspace </goals> </execution> </executions> <configuration> <workspace>${eclipse.workspace.dir} <workspaceCodeStylesURL>file:etc/eclipse/CXFCodeFormatter.xml </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-antrun-plugin <inherited>false <dependencies> <dependency> <groupId>org.apache.cxf.build-utils <artifactId>cxf-buildtools <version>${cxf.build-utils.version} <exclusions> <exclusion> <groupId>pmd <artifactId>pmd </exclusion> </exclusions> </dependency> </dependencies> <executions> <execution> <id>setup.workspace <phase>validate <configuration> <tasks> <path id="ecp.ws.path" location="${eclipse.workspace.dir}" /> <property name="full.eclipse.workspace" refid="ecp.ws.path" /> <whichresource resource="/cxf-eclipse-pmd" property="pmd.url" /> <whichresource resource="/cxf-pmd-ruleset.xml" property="pmdruleset.url" /> <whichresource resource="/cxf-eclipse-checkstyle" property="eclipse.checkstyle.url" /> <whichresource resource="/cxf-checkstyle.xml" property="checkstyle.url" /> <whichresource resource="/cxf-checkstyle-corba.xml" property="corba.checkstyle.url" /> <mkdir dir="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings" /> <mkdir dir="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle" /> <mkdir dir="${full.eclipse.workspace}/.metadata/.plugins/net.sourceforge.pmd.eclipse" /> <get src="${checkstyle.url}" dest="${full.eclipse.workspace}/cxf-checkstyle.xml" /> <get src="${corba.checkstyle.url}" dest="${full.eclipse.workspace}/cxf-checkstyle-corba.xml" /> <!-- Add checkstyle config --> <copy file="${basedir}/etc/eclipse/template.checkstyle-config.xml" tofile="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml" overwrite="no"> <filterset> <filter token="CHECKSTYLE_CONFIG_FILE" value="${full.eclipse.workspace}/cxf-checkstyle.xml" /> <filter token="CHECKSTYLE_CORBA_CONFIG_FILE" value="${full.eclipse.workspace}/cxf-checkstyle-corba.xml" /> <filter token="APACHE_HEADER_FILE" value="${full.eclipse.workspace}/apache-header.txt" /> </filterset> </copy> <xslt style="${basedir}/etc/eclipse/addcheckstyle.xsl" in="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml" out="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml.new"> <param name="checkstyleconfig" expression="${full.eclipse.workspace}/cxf-checkstyle.xml" /> <param name="checkstyleconfigcorba" expression="${full.eclipse.workspace}/cxf-checkstyle-corba.xml" /> </xslt> <copy file="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml.new" tofile="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml" overwrite="yes" /> <!-- Add checkstyle config for 5.0 plugin --> <copy file="${basedir}/etc/eclipse/template.checkstyle-config.xml" tofile="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml" overwrite="no"> <filterset> <filter token="CHECKSTYLE_CONFIG_FILE" value="${full.eclipse.workspace}/cxf-checkstyle.xml" /> <filter token="CHECKSTYLE_CORBA_CONFIG_FILE" value="${full.eclipse.workspace}/cxf-checkstyle-corba.xml" /> <filter token="APACHE_HEADER_FILE" value="${full.eclipse.workspace}/apache-header.txt" /> </filterset> </copy> <xslt style="${basedir}/etc/eclipse/addcheckstyle.xsl" in="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml" out="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml.new"> <param name="checkstyleconfig" expression="${full.eclipse.workspace}/cxf-checkstyle.xml" /> <param name="checkstyleconfigcorba" expression="${full.eclipse.workspace}/cxf-checkstyle-corba.xml" /> </xslt> <copy file="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml.new" tofile="${full.eclipse.workspace}/.metadata/.plugins/net.sf.eclipsecs.core/checkstyle-config.xml" overwrite="yes" /> <!-- Add warning flags that we want --> <propertyfile file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs"> <entry key="org.eclipse.jdt.core.compiler.problem.missingSerialVersion" value="ignore" /> <entry key="org.eclipse.jdt.core.compiler.problem.unusedImport" value="ignore" /> <entry key="org.eclipse.jdt.core.compiler.problem.annotationSuperInterface" value="ignore" /> <entry key="org.eclipse.jdt.core.compiler.problem.rawTypeReference" value="ignore" /> </propertyfile> <!-- Add code format rules --> <loadfile property="eclipse.code.cleanup" srcFile="${basedir}/etc/eclipse/CXFCleanUp.xml" /> <loadfile property="eclipse.code.templates" srcFile="${basedir}/etc/eclipse/codetemplates.xml" /> <loadfile property="eclipse.xml.templates" srcFile="${basedir}/etc/eclipse/xmltemplates.xml" /> <propertyfile file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs"> <entry key="cleanup_profile" value="_CXF" /> <entry key="org.eclipse.jdt.ui.cleanupprofiles" value="${eclipse.code.cleanup}" /> <entry key="org.eclipse.jdt.ui.text.custom_code_templates" value="${eclipse.code.templates}" /> <!-- Add import order --> <entry key="org.eclipse.jdt.ui.importorder" value="java;javax;org.w3c;org.xml;junit;antlr;com;net;org;org.junit;#org.junit" /> <!-- Sort order --> <entry key="org.eclipse.jdt.ui.visibility.order" value="B,R,D,V," /> <entry key="outlinesortoption" value="T,SF,F,SI,I,C,SM,M," /> <entry key="org.eclipse.jdt.ui.enable.visibility.order" value="true" /> </propertyfile> <propertyfile file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.xml.ui.prefs"> <entry key="eclipse.preferences.version" value="1" /> <entry key="org.eclipse.wst.sse.ui.custom_templates" value="${eclipse.xml.templates}" /> </propertyfile> </tasks> </configuration> <goals> <goal>run </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release <build> <plugins> <!-- We want to deploy the artifact to a staging location for perusal --> <plugin> <inherited>true <artifactId>maven-deploy-plugin <version>2.5 <configuration> <altDeploymentRepository>${deploy.altRepository} <updateReleaseInfo>true </configuration> </plugin> <!-- We want to sign the artifact, the POM, and all attached artifacts --> <plugin> <artifactId>maven-gpg-plugin <version>1.0 <executions> <execution> <goals> <goal>sign </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>deploy <modules> <module>distribution </modules> <build> <defaultGoal>deploy <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-source-plugin <version>2.1.2 <executions> <execution> <id>attach-sources <goals> <goal>jar </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-javadoc-plugin <executions> <execution> <id>attach-javadocs <goals> <goal>jar </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>jdk15 <activation> <jdk>1.5 </activation> <properties> <jdk.version>1.5 </properties> </profile> </profiles> <build> <defaultGoal>install <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo <artifactId>properties-maven-plugin <version>1.0-alpha-2 </plugin> <plugin> <groupId>org.codehaus.mojo <artifactId>build-helper-maven-plugin <version>1.5 </plugin> <plugin> <groupId>org.codehaus.mojo <artifactId>xmlbeans-maven-plugin <version>2.3.3 </plugin> <plugin> <groupId>org.apache.felix <artifactId>maven-bundle-plugin <version>2.1.0 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-clean-plugin <version>2.4.1 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-install-plugin <version>2.3.1 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-release-plugin <version>2.0 <configuration> <tagBase>https://svn.apache.org/repos/asf/cxf/tags <useReleaseProfile>false <preparationGoals>clean install <goals>deploy <arguments>-Prelease,deploy <autoVersionSubmodules>true </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-javadoc-plugin <version>2.7 <configuration> <attach>true <source>1.5 <quiet>true <bottom>Apache CXF <javadocVersion>1.5 <encoding>UTF-8 <detectOfflineLinks>false <!--subpackages>org.apache.cxf </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-surefire-plugin <version>2.6 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-source-plugin <version>2.1.2 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <version>2.3.2 <configuration> <source>1.5 <target>1.5 <maxmem>256M <fork>${cxf.compiler.fork} <encoding>UTF-8 </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-antrun-plugin <version>1.4 <dependencies> <dependency> <groupId>ant-contrib <artifactId>ant-contrib <version>1.0b3 <exclusions> <exclusion> <groupId>ant <artifactId>ant </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.ant <artifactId>ant-trax <version>1.8.0 </dependency> <dependency> <groupId>org.apache.ant <artifactId>ant-nodeps <version>1.8.1 </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-jar-plugin <version>2.3.1 <configuration> <archive> <manifestEntries> <Specification-Title>${project.name} <Specification-Vendor>The Apache Software Foundation <Specification-Version>${project.version} <Implementation-Title>${project.name} <Implementation-Vendor-Id>org.apache <Implementation-Vendor>The Apache Software Foundation <Implementation-Version>${project.version} </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-resources-plugin <version>2.4.3 <configuration> <encoding>UTF-8 </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-assembly-plugin <version>2.2-beta-5 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-dependency-plugin <version>2.1 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-shade-plugin <version>1.3.3 <dependencies> <dependency> <groupId>org.apache.cxf.build-utils <artifactId>cxf-buildtools <version>${cxf.build-utils.version} </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-deploy-plugin <version>2.5 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-surefire-report-plugin <version>2.5 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-project-info-reports-plugin <version>2.2 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-plugin-plugin <version>2.6 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-eclipse-plugin <version>2.8 <dependencies> <dependency> <groupId>org.apache.cxf.build-utils <artifactId>cxf-buildtools <version>${cxf.build-utils.version} </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.rat <artifactId>apache-rat-plugin <version>0.6 <configuration> <numUnapprovedLicenses>350 <excludeSubProjects>false <excludes> <exclude>.git/** <exclude>.gitignore <exclude>velocity.log <exclude>**/target/** <exclude>distribution/** <exclude>**/jaxb.index <exclude>**/META-INF/MANIFEST <exclude>**/src/test/**/*.txt <exclude>**/.classpath <exclude>**/.settings/**/* <exclude>**/.project </excludes> </configuration> </plugin> </plugins> </pluginManagement> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-project-info-reports-plugin <version>2.1.1 </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-javadoc-plugin <version>2.6 </plugin> </plugins> </reporting> </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.