<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.daisy</groupId>
    <artifactId>daisy</artifactId>
    <version>3</version>
    <relativePath />
  </parent>

  <groupId>org.daisy.pipeline.modules</groupId>
  <artifactId>epubcheck-adapter</artifactId>
  <version>1.0.0</version>
  <packaging>bundle</packaging>

  <name>DAISY Pipeline 2 module :: EpubCheck Adapter</name>

  <!--<repositories>
      <repository>
          <id>central</id>
          <name>Maven Central</name>
          <url>http://repo.maven.apache.org/maven2/</url>
      </repository>
  </repositories>-->

  <!--<pluginRepositories>
      <pluginRepository>
          <id>sonatype-nexus-snapshots</id>
          <name>oss.sonatype.org github Release Repository Snapshot Repository</name>
          <releases>
              <enabled>false</enabled>
          </releases>
          <snapshots>
              <enabled>true</enabled>
          </snapshots>
          <url>http://oss.sonatype.org/content/repositories/snapshots/</url>
      </pluginRepository>
  </pluginRepositories>-->

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.daisy.pipeline</groupId>
        <artifactId>framework-bom</artifactId>
        <version>1.8</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <!-- Framework bundles -->
    <dependency>
      <groupId>org.daisy.pipeline</groupId>
      <artifactId>calabash-adapter</artifactId>
    </dependency>

    <!-- EpubCheck -->
    <dependency>
  	  <groupId>org.idpf</groupId>
  	  <artifactId>epubcheck</artifactId>
  	  <version>3.0.1</version>
  	</dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Import-Package>org.daisy.pipeline.script,*</Import-Package>
            <Service-Component>OSGI-INF/epubcheck.xml</Service-Component>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>


  <scm>
    <tag>v1.8</tag>
  </scm>
</project>
