<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.google.code.facebookapi</groupId>
    <artifactId>parent-pom</artifactId>
    <version>3.0.1</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <groupId>com.google.code.facebookapi</groupId>
  <artifactId>facebook-java-api</artifactId>
  <packaging>jar</packaging>
  <version>3.0.1</version>
  <name>Facebook Java Library</name>
  <description>Facebook Java Library</description>

  <scm>
    <url>scm:svn:https://facebook-java-api.googlecode.com/svn/tags/release-3.0.1/facebooj-java-api</url>
    <connection>scm:svn:https://facebook-java-api.googlecode.com/svn/tags/release-3.0.1/facebook-java-api</connection>
    <developerConnection>scm:svn:https://facebook-java-api.googlecode.com/svn/tags/release-3.0.1/facebook-java-api</developerConnection>
  </scm>

  <dependencies>
    <dependency>
      <groupId>com.google.code.facebookapi</groupId>
      <artifactId>facebook-java-api-schema</artifactId>
      <version>3.0.1</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1.1</version>
    </dependency>
    <dependency>
      <groupId>org.json</groupId>
      <artifactId>json</artifactId>
      <version>20080701</version>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.5</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.ostermiller</groupId>
      <artifactId>utils</artifactId>
      <version>1.07.00</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <version>3.1</version>
      <scope>test</scope>
    </dependency>
    <!--
        Compile-time Annotation processor shouldn't end
        up on runtime classpath.
        
        Java 6 annotation provider ready for when we
        move exclusively to Java 6.
    -->
    <!--
    <dependency>
      <groupId>com.google.code.facebookapi</groupId>
      <artifactId>facebook-api-annotation-6-processor</artifactId>
      <version>1.0</version>
      <scope>provided</scope>
    </dependency>
    -->
    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.15</version>
        <scope>test</scope>
        <exclusions>
        	<!-- 
        	Excluded packages which are not available
        	on the main Maven repository because otherwise
        	it's a pain, you have to download them and install
        	them to your local repository manually.
        	 -->
        	<exclusion>
        		<groupId>javax.jms</groupId>
        		<artifactId>jms</artifactId>
        	</exclusion>
        	<exclusion>
        		<groupId>com.sun.jdmk</groupId>
        		<artifactId>jmxtools</artifactId>
        	</exclusion>
        	<exclusion>
        		<groupId>com.sun.jmx</groupId>
        		<artifactId>jmxri</artifactId>
        	</exclusion>
        </exclusions>
    </dependency>
    <dependency>
      <groupId>com.google.code.facebookapi</groupId>
      <artifactId>facebook-java-api-annotation-processor</artifactId>
      <version>3.0.1</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptors>
            <descriptor>src/main/assembly/bin.xml</descriptor>
          </descriptors>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>apt-maven-plugin</artifactId>
        <configuration>
          <factory>com.google.code.facebookapi.apt.FacebookReturnTypeProcessorFactory5</factory>
          <fork>true</fork>
          <!-- <executable>${java.home}/bin/apt</executable> -->
        </configuration>
        <executions>
            <execution>
                <goals>
                    <goal>process</goal>
                </goals>
            </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>com.google.code.facebookapi</groupId>
            <artifactId>facebook-java-api-annotation-processor</artifactId>
            <version>3.0.1-SNAPSHOT</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <activation>
        <jdk>1.5</jdk>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.sun.xml.bind</groupId>
          <artifactId>jaxb-impl</artifactId>
          <version>2.1.3</version>
        </dependency>
        <!--
            <dependency>
              <groupId>javax.xml.bind</groupId>
              <artifactId>jsr173_api</artifactId>
              <version>1.0</version>
            </dependency>
            -->
      </dependencies>
    </profile>
  </profiles>
</project>
