<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>org.overlord.sramp</groupId>
    <artifactId>s-ramp</artifactId>
    <version>0.4.0.Final</version>
    <relativePath>../pom.xml</relativePath>
  </parent>

  <artifactId>s-ramp-repository-jcr</artifactId>
  <packaging>bundle</packaging>
  <name>S-RAMP JCR Repository</name>
  <description>S-RAMP JCR Repository implementation</description>

  <dependencies>
    <!-- Project Dependencies -->
    <dependency>
      <groupId>org.overlord.sramp</groupId>
      <artifactId>s-ramp-api</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.overlord.sramp</groupId>
      <artifactId>s-ramp-common</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.overlord.sramp</groupId>
      <artifactId>s-ramp-repository</artifactId>
      <version>${project.version}</version>
    </dependency>

    <!-- Third Party Dependencies -->
    <dependency>
      <groupId>javax.jcr</groupId>
      <artifactId>jcr</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>

    <!-- Apache Commons -->
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>

    <!-- Logging -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
            <Bundle-Name>${project.name}</Bundle-Name>
            <Bundle-Version>${project.version}</Bundle-Version>
            <Bundle-Activator>org.overlord.sramp.repository.jcr.Activator</Bundle-Activator>
            <Export-Package>
              org.overlord.sramp.repository.jcr.*
            </Export-Package>
            <Import-Package>
              javax.jcr,
              javax.jcr.lock,
              javax.jcr.nodetype,
              javax.jcr.query,
              javax.jcr.version,
              javax.xml.datatype,
              javax.xml.namespace,
              org.osgi.framework,
              org.apache.commons.codec.digest,
              org.apache.commons.io,
              org.apache.commons.lang,
              org.jboss.downloads.overlord.sramp._2013.auditing,
              org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
              org.overlord.commons.services,
              org.overlord.sramp.common,
              org.overlord.sramp.common.derived,
              org.overlord.sramp.common.i18n,
              org.overlord.sramp.common.ontology,
              org.overlord.sramp.common.query.xpath.ast,
              org.overlord.sramp.common.query.xpath.visitors,
              org.overlord.sramp.common.visitors,
              org.overlord.sramp.repository,
              org.overlord.sramp.repository.audit,
              org.overlord.sramp.repository.query,
              org.slf4j
            </Import-Package>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>