<?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">
  <parent>
    <groupId>eu.dnetlib</groupId>
    <artifactId>dnet-parent</artifactId>
    <version>1.0.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>eu.dnetlib</groupId>
  <artifactId>dnet-api-http-doc</artifactId>
  <packaging>jar</packaging>
  <version>0.0.1-SNAPSHOT</version>
  <build>
    <plugins>
      <plugin>
        <groupId>com.agilejava.docbkx</groupId>
        <artifactId>docbkx-maven-plugin</artifactId>
        <version>2.0.15</version>
        <executions>
          <execution>
            <goals>
              <!-- RUN with mvn clean docbkx:generate-html -->
              <!-- then copy to /srv/www/api-docs/ of openaire-www.vls.icm.edu.pl -->
              <goal>generate-html</goal>
            </goals>
            <phase>pre-site</phase>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>org.docbook</groupId>
            <artifactId>docbook-xml</artifactId>
            <version>4.4</version>
            <scope>runtime</scope>
          </dependency>
        </dependencies>
        <configuration>
         <!--<chunkedOutput>false</chunkedOutput>-->
          <htmlStylesheet>openaire-api.css</htmlStylesheet>
          <includes>api-doc.xml</includes>    
          <xincludeSupported>true</xincludeSupported>  
          <postProcess>
          <copy todir="target/docbkx/html/">
          	<fileset dir="src/css"/>
          </copy>
          </postProcess>          
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>