|
| 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>12.0</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 | + Guava has only one code dependency - javax.annotation, |
| 18 | + per the JSR-305 spec. |
| 19 | + </description> |
| 20 | + <dependencies> |
| 21 | + <dependency> |
| 22 | + <groupId>com.google.code.findbugs</groupId> |
| 23 | + <artifactId>jsr305</artifactId> |
| 24 | + <version>1.3.9</version> |
| 25 | + </dependency> |
| 26 | + </dependencies> |
| 27 | + <build> |
| 28 | + <plugins> |
| 29 | + <plugin> |
| 30 | + <artifactId>maven-jar-plugin</artifactId> |
| 31 | + <version>2.4</version> |
| 32 | + <configuration> |
| 33 | + <archive> |
| 34 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 35 | + </archive> |
| 36 | + </configuration> |
| 37 | + </plugin> |
| 38 | + <plugin> |
| 39 | + <groupId>org.apache.felix</groupId> |
| 40 | + <artifactId>maven-bundle-plugin</artifactId> |
| 41 | + <version>2.3.7</version> |
| 42 | + <executions> |
| 43 | + <execution> |
| 44 | + <id>bundle-manifest</id> |
| 45 | + <phase>process-classes</phase> |
| 46 | + <goals> |
| 47 | + <goal>manifest</goal> |
| 48 | + </goals> |
| 49 | + </execution> |
| 50 | + </executions> |
| 51 | + <configuration> |
| 52 | + <instructions> |
| 53 | + <Export-Package>!com.google.common.base.internal,com.google.common.*</Export-Package> |
| 54 | + <Import-Package> |
| 55 | + javax.annotation;resolution:=optional, |
| 56 | + sun.misc.*;resolution:=optional |
| 57 | + </Import-Package> |
| 58 | + </instructions> |
| 59 | + </configuration> |
| 60 | + </plugin> |
| 61 | + <plugin> |
| 62 | + <artifactId>maven-compiler-plugin</artifactId> |
| 63 | + <version>2.3.2</version> |
| 64 | + <configuration> |
| 65 | + <source>1.6</source> |
| 66 | + <target>1.6</target> |
| 67 | + </configuration> |
| 68 | + </plugin> |
| 69 | + <plugin> |
| 70 | + <artifactId>maven-source-plugin</artifactId> |
| 71 | + <version>2.1.2</version> |
| 72 | + <executions> |
| 73 | + <execution> |
| 74 | + <id>attach-sources</id> |
| 75 | + <phase>post-integration-test</phase> |
| 76 | + <goals><goal>jar</goal></goals> |
| 77 | + </execution> |
| 78 | + </executions> |
| 79 | + </plugin> |
| 80 | + <plugin> |
| 81 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 82 | + <version>2.8</version> |
| 83 | + <executions> |
| 84 | + <execution> |
| 85 | + <id>attach-docs</id> |
| 86 | + <phase>post-integration-test</phase> |
| 87 | + <goals><goal>jar</goal></goals> |
| 88 | + </execution> |
| 89 | + </executions> |
| 90 | + </plugin> |
| 91 | + <plugin> |
| 92 | + <groupId>org.codehaus.mojo</groupId> |
| 93 | + <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 94 | + <version>1.7</version> |
| 95 | + <configuration> |
| 96 | + <signature> |
| 97 | + <groupId>org.codehaus.mojo.signature</groupId> |
| 98 | + <artifactId>java16-sun</artifactId> |
| 99 | + <version>1.0</version> |
| 100 | + </signature> |
| 101 | + </configuration> |
| 102 | + <executions> |
| 103 | + <execution> |
| 104 | + <id>check-java16-sun</id> |
| 105 | + <phase>test</phase> |
| 106 | + <goals> |
| 107 | + <goal>check</goal> |
| 108 | + </goals> |
| 109 | + </execution> |
| 110 | + </executions> |
| 111 | + </plugin> |
| 112 | + <plugin> |
| 113 | + <groupId>org.apache.maven.plugins</groupId> |
| 114 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 115 | + <version>2.8</version> |
| 116 | + <configuration> |
| 117 | + <encoding>UTF-8</encoding> |
| 118 | + <docencoding>UTF-8</docencoding> |
| 119 | + <charset>UTF-8</charset> |
| 120 | + <additionalparam>-XDignore.symbol.file</additionalparam> |
| 121 | + <excludePackageNames>com.google.common.base.internal</excludePackageNames> |
| 122 | + <linksource>true</linksource> |
| 123 | + <links> |
| 124 | + <link>http://jsr-305.googlecode.com/svn/trunk/javadoc</link> |
| 125 | + </links> |
| 126 | + </configuration> |
| 127 | + <executions> |
| 128 | + <execution> |
| 129 | + <id>generate-javadoc-site-report</id> |
| 130 | + <phase>site</phase> |
| 131 | + <goals><goal>javadoc</goal></goals> |
| 132 | + </execution> |
| 133 | + <execution> |
| 134 | + <id>generate-jdiff-site-report</id> |
| 135 | + <phase>site</phase> |
| 136 | + <goals><goal>javadoc</goal></goals> |
| 137 | + <configuration> |
| 138 | + <doclet>jdiff.JDiff</doclet> |
| 139 | + <docletPath>${project.basedir}/lib/jdiff.jar</docletPath> |
| 140 | + <additionalparam> |
| 141 | + -XDignore.symbol.file -apiname 'Guava ${project.version}' |
| 142 | + </additionalparam> |
| 143 | + <useStandardDocletOptions>false</useStandardDocletOptions> |
| 144 | + <reportOutputDirectory>${project.reporting.outputDirectory}</reportOutputDirectory> |
| 145 | + <destDir>jdiff</destDir> |
| 146 | + </configuration> |
| 147 | + </execution> |
| 148 | + </executions> |
| 149 | + </plugin> |
| 150 | + </plugins> |
| 151 | + <finalName>${project.artifactId}-${project.version}</finalName> |
| 152 | + <sourceDirectory>src</sourceDirectory> |
| 153 | + <testSourceDirectory>disabled</testSourceDirectory> |
| 154 | + </build> |
| 155 | +</project> |
0 commit comments