Home | History | Annotate | Download | only in guava
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      4   <modelVersion>4.0.0</modelVersion>
      5   <parent>
      6     <groupId>com.google.guava</groupId>
      7     <artifactId>guava-parent</artifactId>
      8     <version>11.0.2</version>
      9   </parent>
     10   <artifactId>guava</artifactId>
     11   <name>Guava: Google Core Libraries for Java</name>
     12   <description>
     13     Guava is a suite of core and expanded libraries that include
     14     utility classes, google's collections, io classes, and much
     15     much more.
     16 
     17     This project is a complete packaging of all the Guava libraries
     18     into a single jar.  Individual portions of Guava can be used
     19     by downloading the appropriate module and its dependencies.
     20 
     21     Guava (complete) has only one code dependency - javax.annotation,
     22     per the JSR-305 spec.
     23   </description>
     24   <dependencies>
     25     <dependency>
     26       <groupId>com.google.code.findbugs</groupId>
     27       <artifactId>jsr305</artifactId>
     28       <version>1.3.9</version>
     29     </dependency>
     30     <dependency>
     31       <groupId>${project.groupId}</groupId>
     32       <artifactId>guava-bootstrap</artifactId>
     33       <version>${project.version}</version>
     34       <scope>provided</scope>
     35     </dependency>
     36     <dependency>
     37       <groupId>junit</groupId>
     38       <artifactId>junit</artifactId>
     39       <version>4.5</version>
     40       <scope>test</scope>
     41     </dependency>
     42   </dependencies>
     43   <build>
     44     <plugins>
     45       <plugin>
     46         <groupId>org.apache.maven.plugins</groupId>
     47         <artifactId>maven-compiler-plugin</artifactId>
     48         <version>2.3.2</version>
     49         <configuration>
     50           <source>1.5</source>
     51           <target>1.5</target>
     52           <!-- Prepend guava-bootstrap to avoid an API incompatibility between JDK5 and JDK6 -->
     53           <compilerArgument>-Xbootclasspath/p:${project.build.directory}/dependency/guava-bootstrap-${project.version}.jar</compilerArgument>
     54         </configuration>
     55       </plugin>
     56       <plugin>
     57         <groupId>org.apache.maven.plugins</groupId>
     58         <artifactId>maven-dependency-plugin</artifactId>
     59         <version>2.3</version>
     60         <executions>
     61           <execution>
     62             <id>prep-guava-bootstrap</id>
     63             <phase>process-sources</phase>
     64             <goals><goal>copy-dependencies</goal></goals>
     65             <configuration>
     66               <includeArtifactIds>guava-bootstrap</includeArtifactIds>
     67               <excludeTransitive>true</excludeTransitive>
     68               <includeScope>provided</includeScope>
     69             </configuration>
     70           </execution>
     71         </executions>
     72       </plugin>
     73       <plugin>
     74         <groupId>org.apache.maven.plugins</groupId>
     75         <artifactId>maven-source-plugin</artifactId>
     76         <version>2.1.2</version>
     77         <executions>
     78           <execution>
     79             <id>attach-sources</id>
     80             <phase>verify</phase>
     81             <goals>
     82               <goal>jar-no-fork</goal>
     83             </goals>
     84           </execution>
     85         </executions>
     86       </plugin>
     87       <plugin>
     88         <groupId>org.codehaus.mojo</groupId>
     89         <artifactId>animal-sniffer-maven-plugin</artifactId>
     90         <version>1.7</version>
     91         <configuration>
     92           <signature>
     93             <groupId>org.codehaus.mojo.signature</groupId>
     94             <artifactId>java15-sun</artifactId>
     95             <version>1.0</version>
     96           </signature>
     97         </configuration>
     98         <executions>
     99           <execution>
    100             <id>check-java15</id>
    101             <phase>test</phase>
    102             <goals>
    103               <goal>check</goal>
    104             </goals>
    105           </execution>
    106         </executions>
    107       </plugin>
    108       <plugin>
    109         <groupId>org.apache.maven.plugins</groupId>
    110         <artifactId>maven-javadoc-plugin</artifactId>
    111         <version>2.8</version>
    112         <configuration>
    113           <encoding>UTF-8</encoding>
    114           <docencoding>UTF-8</docencoding>
    115           <charset>UTF-8</charset>
    116           <additionalparam>-XDignore.symbol.file</additionalparam>
    117           <excludePackageNames>com.google.common.base.internal</excludePackageNames>
    118           <linksource>true</linksource>
    119           <links>
    120             <link>http://jsr-305.googlecode.com/svn/trunk/javadoc</link>
    121           </links>
    122         </configuration>
    123         <executions>
    124           <execution>
    125             <id>generate-javadoc</id>
    126             <phase>site</phase>
    127             <goals><goal>javadoc</goal></goals>
    128           </execution>
    129           <execution>
    130             <id>generate-jdiff</id>
    131             <phase>site</phase>
    132             <goals><goal>javadoc</goal></goals>
    133             <configuration>
    134               <doclet>jdiff.JDiff</doclet>
    135               <docletPath>${project.basedir}/lib/jdiff.jar</docletPath>
    136               <additionalparam>
    137                 -XDignore.symbol.file -apiname 'Guava ${project.version}'
    138               </additionalparam>
    139               <useStandardDocletOptions>false</useStandardDocletOptions>
    140               <reportOutputDirectory>${project.reporting.outputDirectory}</reportOutputDirectory>
    141               <destDir>jdiff</destDir>
    142             </configuration>
    143           </execution>
    144         </executions>
    145       </plugin>
    146     </plugins>
    147     <finalName>${project.artifactId}-${project.version}</finalName>
    148     <sourceDirectory>src</sourceDirectory>
    149     <testSourceDirectory>disabled</testSourceDirectory>
    150   </build>
    151 </project>
    152