<?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/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.daisy.pipeline.modules</groupId>
    <artifactId>modules-parent</artifactId>
    <version>1.14.30</version>
    <relativePath>../../parent/</relativePath>
  </parent>

  <artifactId>file-utils</artifactId>
  <version>4.3.1</version>
  <packaging>bundle</packaging>

  <name>DAISY Pipeline 2 module :: File Utilities</name>

  <dependencies>
    <dependency>
      <groupId>org.daisy.pipeline</groupId>
      <artifactId>common-utils</artifactId>
    </dependency>
    <dependency>
      <groupId>org.daisy.libs</groupId>
      <artifactId>com.xmlcalabash</artifactId>
    </dependency>
    <dependency>
      <groupId>org.daisy.libs</groupId>
      <artifactId>saxon-he</artifactId>
    </dependency>
    <dependency>
      <groupId>org.daisy.pipeline</groupId>
      <artifactId>calabash-adapter</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.daisy.pipeline.modules</groupId>
      <artifactId>common-utils</artifactId>
    </dependency>
  </dependencies>

  <properties>
    <expose-services>
      org.daisy.pipeline.modules.impl.Module_file_utils,
      org.daisy.common.xproc.calabash.impl.ConfigurationFileProvider_file_utils,
      org.daisy.pipeline.file.calabash.impl.CopyResourceProvider,
      org.daisy.pipeline.file.calabash.impl.LoadProvider,
      org.daisy.pipeline.file.calabash.impl.NormalizeURIProvider,
      org.daisy.pipeline.file.calabash.impl.PeekProvider,
      org.daisy.pipeline.file.calabash.impl.SetDoctypeProvider,
      org.daisy.pipeline.file.calabash.impl.SetXmlDeclarationProvider,
      org.daisy.pipeline.file.calabash.impl.XMLPeekProvider,
      org.daisy.pipeline.file.saxon.impl.Expand83,
      org.daisy.pipeline.file.saxon.impl.FileExists,
      org.daisy.pipeline.file.saxon.impl.NormalizeURI
    </expose-services>
  </properties>
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.daisy.maven</groupId>
        <artifactId>xspec-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>xspecTest</id>
            <phase>none</phase>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <instructions>
            <Import-Package>
              net.sf.saxon.*;version="${saxon.versionRange}",
              !org.daisy.common.spi,
              *
            </Import-Package>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>