1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 ~ Copyright 2013 Google Inc. 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18 <project xmlns="http://maven.apache.org/POM/4.0.0" 19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 21 <modelVersion>4.0.0</modelVersion> 22 <parent> 23 <groupId>com.google.jimfs</groupId> 24 <artifactId>jimfs-parent</artifactId> 25 <version>1.1</version> 26 </parent> 27 28 <artifactId>jimfs</artifactId> 29 30 <packaging>bundle</packaging> 31 32 <name>Jimfs</name> 33 34 <description> 35 Jimfs is an in-memory implementation of Java 7's java.nio.file abstract file system API. 36 </description> 37 38 <dependencies> 39 <!-- Required runtime dependencies --> 40 <dependency> 41 <groupId>com.google.guava</groupId> 42 <artifactId>guava</artifactId> 43 </dependency> 44 45 <!-- Optional runtime dependencies --> 46 <dependency> 47 <groupId>com.ibm.icu</groupId> 48 <artifactId>icu4j</artifactId> 49 <optional>true</optional> 50 </dependency> 51 52 <!-- Compile-time dependencies --> 53 <dependency> 54 <groupId>com.google.auto.service</groupId> 55 <artifactId>auto-service</artifactId> 56 <optional>true</optional> 57 </dependency> 58 <dependency> 59 <groupId>com.google.code.findbugs</groupId> 60 <artifactId>jsr305</artifactId> 61 <optional>true</optional> 62 </dependency> 63 64 <!-- Test dependencies --> 65 <dependency> 66 <groupId>junit</groupId> 67 <artifactId>junit</artifactId> 68 </dependency> 69 <dependency> 70 <groupId>com.google.guava</groupId> 71 <artifactId>guava-testlib</artifactId> 72 </dependency> 73 <dependency> 74 <groupId>com.google.truth</groupId> 75 <artifactId>truth</artifactId> 76 </dependency> 77 </dependencies> 78 79 <build> 80 <plugins> 81 <plugin> 82 <artifactId>maven-source-plugin</artifactId> 83 <executions> 84 <execution> 85 <id>attach-sources</id> 86 <phase>post-integration-test</phase> 87 <goals> 88 <goal>jar-no-fork</goal> 89 </goals> 90 </execution> 91 </executions> 92 </plugin> 93 94 <plugin> 95 <artifactId>maven-javadoc-plugin</artifactId> 96 <configuration> 97 <encoding>UTF-8</encoding> 98 <docencoding>UTF-8</docencoding> 99 <charset>UTF-8</charset> 100 <excludePackageNames>com.google.jimfs.internal</excludePackageNames> 101 <links> 102 <link>http://docs.guava-libraries.googlecode.com/git-history/v${guava.version}/javadoc/</link> 103 <link>http://jsr-305.googlecode.com/svn/trunk/javadoc/</link> 104 <link>http://icu-project.org/apiref/icu4j/</link> 105 <link>http://docs.oracle.com/javase/7/docs/api/</link> 106 </links> 107 </configuration> 108 <executions> 109 <execution> 110 <id>attach-docs</id> 111 <phase>post-integration-test</phase> 112 <goals> 113 <goal>jar</goal> 114 </goals> 115 </execution> 116 </executions> 117 </plugin> 118 119 <plugin> 120 <groupId>org.apache.felix</groupId> 121 <artifactId>maven-bundle-plugin</artifactId> 122 <extensions>true</extensions> 123 <configuration> 124 <instructions> 125 <Export-Package>com.google.common.jimfs.*</Export-Package> 126 <Include-Resource> 127 META-INF/services=target/classes/META-INF/services 128 </Include-Resource> 129 </instructions> 130 </configuration> 131 </plugin> 132 </plugins> 133 </build> 134 </project> 135