|
Java example source code file (pom.xml)
The pom.xml example source code<?xml version="1.0" encoding="UTF-8"?> <!-- ==================================================================== 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. ==================================================================== This software consists of voluntary contributions made by many individuals on behalf of the Apache Software Foundation. For more information on the Apache Software Foundation, please see <http://www.apache.org />. --> <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>project <groupId>org.apache.httpcomponents <version>4.1 <relativePath>../project/pom.xml </parent> <modelVersion>4.0.0 <groupId>org.apache.httpcomponents <artifactId>httpcomponents-client <name>HttpComponents Client <version>4.0.3 <description>Components to build client side HTTP services <url>http://hc.apache.org/httpcomponents-client <inceptionYear>1999 <packaging>pom <organization> <name>Apache Software Foundation <url>http://www.apache.org/ </organization> <licenses> <license> <name>Apache License <url>LICENSE.txt <distribution>repo </license> </licenses> <issueManagement> <system>Jira <url>http://issues.apache.org/jira/browse/HTTPCLIENT </issueManagement> <scm> <connection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk <developerConnection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk <url>https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk </scm> <properties> <project.build.sourceEncoding>UTF-8 <project.reporting.outputEncoding>UTF-8 <httpcore.version>4.0.1 <commons-logging.version>1.1.1 <commons-codec.version>1.3 <mime4j.version>0.6 <junit.version>3.8.2 </properties> <modules> <module>httpclient <module>httpmime <module>httpclient-osgi </modules> <build> <plugins> <plugin> <artifactId>maven-source-plugin <executions> <execution> <id>attach-sources <goals> <goal>jar </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin <configuration> <source>1.5 <links> <link>http://java.sun.com/j2se/1.5.0/docs/api/ <link>http://hc.apache.org/httpcomponents-core/httpcore/apidocs/ <link>http://james.apache.org/mime4j/apidocs/ </links> </configuration> </plugin> <plugin> <artifactId>maven-site-plugin </plugin> <plugin> <artifactId>maven-assembly-plugin <configuration> <descriptors> <descriptor>src/main/assembly/bin.xml <descriptor>src/main/assembly/osgi-bin.xml <descriptor>src/main/assembly/bin-with-deps.xml <descriptor>src/main/assembly/src.xml </descriptors> <tarLongFileMode>gnu </configuration> </plugin> <plugin> <artifactId>maven-antrun-plugin <inherited>false <configuration> <tasks> <ant antfile="src/main/assembly/build.xml"> <property name="target" value="${project.build.directory}" /> <property name="package.name" value="${pom.artifactId}-${pom.version}-bin" /> </ant> <ant antfile="src/main/assembly/build.xml"> <property name="target" value="${project.build.directory}" /> <property name="package.name" value="${pom.artifactId}-${pom.version}-bin-with-dependencies" /> </ant> <ant antfile="src/main/assembly/build.xml"> <property name="target" value="${project.build.directory}" /> <property name="package.name" value="${pom.artifactId}-${pom.version}-osgi-bin" /> </ant> <ant antfile="src/main/assembly/build.xml"> <property name="target" value="${project.build.directory}" /> <property name="package.name" value="${pom.artifactId}-${pom.version}-src" /> </ant> </tasks> </configuration> </plugin> <plugin> <groupId>com.atlassian.maven.plugins <artifactId>maven-clover2-plugin <configuration> <flushPolicy>threaded <flushInterval>100 <targetPercentage>50% </configuration> <executions> <execution> <id>site <phase>pre-site <goals> <goal>instrument <goal>aggregate <goal>save-history </goals> </execution> </executions> </plugin> <plugin> <groupId>com.agilejava.docbkx <artifactId>docbkx-maven-plugin <executions> <execution> <goals> <goal>generate-html <goal>generate-pdf </goals> <phase>pre-site </execution> </executions> <dependencies> <dependency> <groupId>org.docbook <artifactId>docbook-xml <version>4.4 <scope>runtime </dependency> </dependencies> <configuration> <includes>index.xml <chunkedOutput>true <xincludeSupported>true <foCustomization>src/docbkx/resources/xsl/fopdf.xsl <htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl <htmlStylesheet>css/hc-tutorial.css <entities> <entity> <name>version <value>${pom.version} </entity> </entities> <postProcess> <copy todir="target/site/tutorial"> <fileset dir="target/docbkx"> <include name="**/*.html" /> <include name="**/*.pdf" /> </fileset> </copy> <copy todir="target/site/tutorial/html"> <fileset dir="src/docbkx/resources"> <include name="**/*.css" /> <include name="**/*.png" /> <include name="**/*.gif" /> <include name="**/*.jpg" /> </fileset> </copy> <move file="target/site/tutorial/pdf/index.pdf" tofile="target/site/tutorial/pdf/httpclient-tutorial.pdf" failonerror="false" /> </postProcess> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <artifactId>maven-project-info-reports-plugin <reportSets> <reportSet> <reports> <report>dependencies <report>project-team <report>mailing-list <report>issue-tracking <report>scm </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </project> Other Java examples (source code examples)Here is a short list of links related to this Java 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.