<?xml version="1.0" encoding="UTF-8"?>
<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 -->

  <parent>
    <groupId>com.adobe.sharedcloud</groupId>
    <artifactId>parent</artifactId>
    <version>0.0.5</version>
    <relativePath />
  </parent>

  <!-- ==============================================================================    Project -->

  <groupId>com.adobe.suitetech</groupId>
  <artifactId>com.adobe.suitetech.nativecomm</artifactId>
  <version>2.0.8</version>
  <packaging>bundle</packaging>

  <name>Adobe :: SuiteTech :: Nativecomm</name>
  <description>Adobe NativeComm IPC Bundle</description>
  <inceptionYear>2002</inceptionYear>

  <scm>
    <connection>scm:perforce:ham-perforce.eur.adobe.com:1710://sharedcloud/main/granite/bundles/com.adobe.suitetech.nativecomm</connection>
    <developerConnection>scm:perforce:ham-perforce.eur.adobe.com:1710://sharedcloud/main/granite/bundles/com.adobe.suitetech.nativecomm</developerConnection>
    <url>http://ham-perforce.corp.adobe.com:1711/sharedcloud/main/granite/bundles/com.adobe.suitetech.nativecomm</url>
  </scm>

  <properties>
    <pax-exam.version>2.4.0</pax-exam.version>
    <pax-url.version>1.4.0</pax-url.version>
  </properties>

  <!-- ================================================================================    Build -->

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-scr-plugin</artifactId>
      </plugin>

      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Import-Package>!com.adobe.versioncue.*,*</Import-Package>
            <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
            <_provider-policy>[$(version;===;$(@)),$(version;=+;$(@)))</_provider-policy>
            <_consumer-policy>[$(version;===;$(@)),$(version;+;$(@)))</_consumer-policy>
          </instructions>
        </configuration>
      </plugin>

      <plugin>
        <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-failsafe-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>integration-test</goal>
              <goal>verify</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <!-- =========================================================================    Dependencies -->

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>com.adobe.cloudservices</groupId>
      <artifactId>com.jamonapi.jamon</artifactId>
      <version>2.73</version>
      <optional>true</optional>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1.1</version>
      <optional>true</optional>
      <scope>provided</scope>
    </dependency>      

	<!-- test Dependencies -->
    <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.ops4j.pax.exam</groupId>
      <artifactId>pax-exam-junit4</artifactId>
      <version>${pax-exam.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.ops4j.pax.exam</groupId>
      <artifactId>pax-exam-link-mvn</artifactId>
      <version>${pax-exam.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.ops4j.pax.url</groupId>
      <artifactId>pax-url-aether</artifactId>
      <version>${pax-url.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>javax.inject</groupId>
      <artifactId>javax.inject</artifactId>
      <version>1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
      <version>1.5.11</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.configadmin</artifactId>
      <version>1.2.8</version>
      <scope>test</scope>
    </dependency>

    <!-- Test OSGi Frameworks -->
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.framework</artifactId>
      <version>3.0.8</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.eclipse.osgi</groupId>
      <artifactId>org.eclipse.osgi</artifactId>
      <version>3.6.0.v20100517</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
