Home | History | Annotate | Download | only in 4.1
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3    ====================================================================
      4    Licensed to the Apache Software Foundation (ASF) under one
      5    or more contributor license agreements.  See the NOTICE file
      6    distributed with this work for additional information
      7    regarding copyright ownership.  The ASF licenses this file
      8    to you under the Apache License, Version 2.0 (the
      9    "License"); you may not use this file except in compliance
     10    with the License.  You may obtain a copy of the License at
     11 
     12      http://www.apache.org/licenses/LICENSE-2.0
     13 
     14    Unless required by applicable law or agreed to in writing,
     15    software distributed under the License is distributed on an
     16    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     17    KIND, either express or implied.  See the License for the
     18    specific language governing permissions and limitations
     19    under the License.
     20    ====================================================================
     21 
     22    This software consists of voluntary contributions made by many
     23    individuals on behalf of the Apache Software Foundation.  For more
     24    information on the Apache Software Foundation, please see
     25    <http://www.apache.org />.
     26  -->
     27 
     28 <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">
     29   <modelVersion>4.0.0</modelVersion>
     30   <parent>
     31     <groupId>org.apache.httpcomponents</groupId>
     32     <artifactId>httpcomponents-client</artifactId>
     33     <version>4.1</version>
     34   </parent>
     35   <artifactId>httpmime</artifactId>
     36   <name>HttpMime</name>
     37   <description>
     38    HttpComponents HttpClient - MIME coded entities
     39   </description>
     40   <url>http://hc.apache.org/httpcomponents-client</url>
     41   <packaging>jar</packaging>
     42 
     43   <dependencies>
     44     <dependency>
     45       <groupId>org.apache.httpcomponents</groupId>
     46       <artifactId>httpcore</artifactId>
     47       <version>${httpcore.version}</version>
     48       <scope>compile</scope>
     49     </dependency>
     50     <dependency>
     51       <groupId>commons-logging</groupId>
     52       <artifactId>commons-logging</artifactId>
     53       <version>${commons-logging.version}</version>
     54       <scope>compile</scope>
     55     </dependency>
     56     <dependency>
     57       <groupId>junit</groupId>
     58       <artifactId>junit</artifactId>
     59       <version>${junit.version}</version>
     60       <scope>test</scope>
     61     </dependency>
     62   </dependencies>
     63 
     64   <properties>
     65     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     66     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     67     <maven.compile.source>1.5</maven.compile.source>
     68     <maven.compile.target>1.5</maven.compile.target>
     69     <maven.compile.optimize>true</maven.compile.optimize>
     70     <maven.compile.deprecation>true</maven.compile.deprecation>
     71   </properties>
     72 
     73   <build>
     74     <resources>
     75       <resource>
     76         <directory>src/main/resources</directory>
     77         <filtering>true</filtering>
     78         <includes>
     79             <include>**/*.properties</include>
     80         </includes>
     81       </resource>
     82     </resources>
     83     <plugins>
     84       <plugin>
     85         <groupId>org.apache.maven.plugins</groupId>
     86         <artifactId>maven-compiler-plugin</artifactId>
     87         <configuration>
     88           <source>${maven.compile.source}</source>
     89           <target>${maven.compile.target}</target>
     90           <optimize>${maven.compile.optimize}</optimize>
     91           <showDeprecations>${maven.compile.deprecation}</showDeprecations>
     92         </configuration>
     93       </plugin>
     94       <plugin>
     95         <artifactId>maven-surefire-plugin</artifactId>
     96       </plugin>
     97       <plugin>
     98         <groupId>com.atlassian.maven.plugins</groupId>
     99         <artifactId>maven-clover2-plugin</artifactId>
    100         <configuration>
    101           <flushPolicy>threaded</flushPolicy>
    102           <flushInterval>100</flushInterval>
    103           <targetPercentage>50%</targetPercentage>
    104         </configuration>
    105         <executions>
    106           <execution>
    107             <id>site</id>
    108             <phase>pre-site</phase>
    109             <goals>
    110               <goal>instrument</goal>
    111             </goals>
    112           </execution>
    113         </executions>
    114       </plugin>
    115     </plugins>
    116   </build>
    117 
    118   <reporting>
    119     <plugins>
    120 
    121       <plugin>
    122         <artifactId>maven-javadoc-plugin</artifactId>
    123         <configuration>
    124           <source>1.5</source>
    125           <links>
    126             <link>http://download.oracle.com/javase/1.5.0/docs/api/</link>
    127             <link>http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/</link>
    128           </links>
    129         </configuration>
    130         <reportSets>
    131           <reportSet>
    132             <reports>
    133               <report>javadoc</report>
    134             </reports>
    135           </reportSet>
    136         </reportSets>
    137       </plugin>
    138 
    139       <plugin>
    140         <groupId>com.atlassian.maven.plugins</groupId>
    141         <artifactId>maven-clover2-plugin</artifactId>
    142         <configuration>
    143           <jdk>1.5</jdk>
    144         </configuration>
    145       </plugin>
    146 
    147       <plugin>
    148         <artifactId>maven-jxr-plugin</artifactId>
    149       </plugin>
    150 
    151       <plugin>
    152         <artifactId>maven-surefire-report-plugin</artifactId>
    153       </plugin>
    154 
    155     </plugins>
    156   </reporting>
    157 
    158 </project>
    159