<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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.atlassian.bundles</groupId>
    <artifactId>parent-pom</artifactId>
    <version>1</version>
  </parent>
  <artifactId>guava</artifactId>
  <version>8.1</version>
  <name>Guava Bundle</name>
  <description>Guava with OSGi manifest entries</description>
  <packaging>bundle</packaging>

  <scm>
    <connection>scm:svn:https://studio.atlassian.com/svn/BUNDLES/tags/guava-8.1</connection>
    <developerConnection>scm:svn:https://studio.atlassian.com/svn/BUNDLES/tags/guava-8.1</developerConnection>
    <url>https://svn.atlassian.com/svn/public/atlassian/pom/atlassian-public-pom/tags/guava-8.1</url>
  </scm>

  <licenses>
    <license>
      <name>Apache License Version 2.0</name>
      <url>https://maven.atlassian.com/public/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <properties>
    <Export-Package>com.google.common.*;version="${pom.version}"</Export-Package>
    <Import-Package>sun.misc;resolution:="optional",*</Import-Package>
  </properties>
  <build>
    <sourceDirectory>${basedir}/target/source</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>com.google.guava</groupId>
                  <artifactId>guava</artifactId>
                  <version>r08</version>
                  <classifier>sources</classifier>
                  <outputDirectory>${basedir}/target/source</outputDirectory>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>com.atlassian.bundles</groupId>
      <artifactId>jsr305</artifactId>
      <version>1.1</version>
      <type>bundle</type>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>

