<?xml version="1.0"?>
<!--
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2012 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
-->
<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>com.adobe.granite</groupId>
    <artifactId>parent</artifactId>
    <version>26</version>
    <relativePath />
  </parent>

  <artifactId>com.adobe.granite.gibson</artifactId>
  <version>1.1.2</version>
  <packaging>bundle</packaging>

  <name>Adobe PDF Java Toolkit</name>
  <url>https://zerowing.corp.adobe.com/display/granite/Gibson</url>

  <scm>
    <connection>scm:git:git@git.corp.adobe.com:Granite/granite.git</connection>
    <developerConnection>scm:git:git@git.corp.adobe.com:Granite/granite.git</developerConnection>
    <url>https://git.corp.adobe.com/Granite/granite/tree/master/bundles/parser/gibson</url>
    <tag>com.adobe.granite.gibson-1.1.2</tag>
  </scm>

  <properties>
    <gibson.version>3.0.525911</gibson.version>
    <afe.version>1.0.1326433.2</afe.version>
    <agl.version>1.0.698416.2</agl.version>
    <rideau.version>3.0.1349992</rideau.version>
    <xmpcore.version>5.0.20</xmpcore.version>
    <pax.exam.version>2.6.0</pax.exam.version>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Bundle-Activator>
              com.adobe.granite.gibson.Activator
            </Bundle-Activator>
            <Export-Package />
          </instructions>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>single</goal>
            </goals>
            <configuration>
              <descriptor>test-bundles.xml</descriptor>
              <finalName>test</finalName>
              <attach>false</attach>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-failsafe-plugin</artifactId>
        <configuration>
          <systemPropertyVariables>
            <org.ops4j.pax.logging.DefaultServiceLog.level>
              WARN
            </org.ops4j.pax.logging.DefaultServiceLog.level>
          </systemPropertyVariables>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>integration-test</goal>
              <goal>verify</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.apache.tika</groupId>
      <artifactId>tika-core</artifactId>
      <version>1.0</version>
    </dependency>

    <!-- This would be the correct dependency to use here, but it
         conflicts with the Felix framework used by the Pax Exam tests
         below. So we comment this one out and turn the Felix dependency
         to a provided non-test one.
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    -->

    <!-- Gibson and it's dependencies -->
    <dependency>
      <groupId>com.adobe.pdf</groupId>
      <artifactId>pdfservices_extraction</artifactId>
      <version>${gibson.version}</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <groupId>com.adobe.flex.compiler</groupId>
          <artifactId>swfutils</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>com.adobe.pdf</groupId>
      <artifactId>pdfcore</artifactId>
      <version>${gibson.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.adobe.pdf</groupId>
      <artifactId>pdfencryption_high</artifactId>
      <version>${gibson.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.adobe.pdf</groupId>
      <artifactId>rideau</artifactId>
      <version>${rideau.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.adobe.pdf</groupId>
      <artifactId>aglj40</artifactId>
      <version>${agl.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.adobe.pdf</groupId>
      <artifactId>afe</artifactId>
      <version>${afe.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.adobe.xmp</groupId>
      <artifactId>xmpcore</artifactId>
      <version>${xmpcore.version}</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.ops4j.pax.exam</groupId>
      <artifactId>pax-exam-junit4</artifactId>
      <version>${pax.exam.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-atinject_1.0_spec</artifactId>
      <version>1.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.ops4j.pax.exam</groupId>
      <artifactId>pax-exam-container-native</artifactId>
      <version>${pax.exam.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.framework</artifactId>
      <version>4.0.3</version>
      <!-- This should be test, but note the above comment about a conflict
           with the standard org.osgi.core dependency -->
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.ops4j.pax.exam</groupId>
      <artifactId>pax-exam-link-assembly</artifactId>
      <version>${pax.exam.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.ops4j.pax.url</groupId>
      <artifactId>pax-url-aether</artifactId>
      <version>1.3.3</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

</project>
