Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
  <parent>
4
    <groupId>eu.dnetlib</groupId>
5
    <artifactId>dnet-parent</artifactId>
6
    <version>1.0.0</version>
7
  </parent>
8
  <modelVersion>4.0.0</modelVersion>
9
  <groupId>eu.dnetlib</groupId>
10
  <artifactId>dnet-api-http-doc</artifactId>
11
  <packaging>jar</packaging>
12
  <version>0.0.1-SNAPSHOT</version>
13
  <build>
14
    <plugins>
15
      <plugin>
16
        <groupId>com.agilejava.docbkx</groupId>
17
        <artifactId>docbkx-maven-plugin</artifactId>
18
        <version>2.0.15</version>
19
        <executions>
20
          <execution>
21
            <goals>
22
              <!-- RUN with mvn clean docbkx:generate-html -->
23
              <!-- then copy to /srv/www/api-docs/ of openaire-www.vls.icm.edu.pl -->
24
              <goal>generate-html</goal>
25
            </goals>
26
            <phase>pre-site</phase>
27
          </execution>
28
        </executions>
29
        <dependencies>
30
          <dependency>
31
            <groupId>org.docbook</groupId>
32
            <artifactId>docbook-xml</artifactId>
33
            <version>4.4</version>
34
            <scope>runtime</scope>
35
          </dependency>
36
        </dependencies>
37
        <configuration>
38
         <!--<chunkedOutput>false</chunkedOutput>-->
39
          <htmlStylesheet>openaire-api.css</htmlStylesheet>
40
          <includes>api-doc.xml</includes>    
41
          <xincludeSupported>true</xincludeSupported>  
42
          <postProcess>
43
          <copy todir="target/docbkx/html/">
44
          	<fileset dir="src/css"/>
45
          </copy>
46
          </postProcess>          
47
        </configuration>
48
      </plugin>
49
    </plugins>
50
  </build>
51
</project>
(2-2/2)