Bumping versions by 0.0.1 for next dev cycle
[docs.git] / manuals / getting-started-guide / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4   <parent>
5     <groupId>org.opendaylight.docs</groupId>
6     <artifactId>manuals</artifactId>
7     <version>0.1.1-SNAPSHOT</version>
8     <relativePath>../pom.xml</relativePath>
9   </parent>
10   <modelVersion>4.0.0</modelVersion>
11   <artifactId>getting-started-guide</artifactId>
12   <packaging>jar</packaging>
13   <name>OpenDaylight Docs - Manuals - Getting Started Guide</name>
14   <properties>
15     <!-- This is set by Jenkins according to the branch. -->
16     <release.path.name>local</release.path.name>
17     <comments.enabled>1</comments.enabled>
18     <bookname>bk-getting-started-guide</bookname>
19   </properties>
20   <!-- ################################################ -->
21   <!-- USE "mvn clean generate-sources" to run this POM -->
22   <!-- ################################################ -->
23   <build>
24     <plugins>
25       <plugin>
26          <groupId>org.asciidoctor</groupId>
27          <artifactId>asciidoctor-maven-plugin</artifactId>
28          <version>${asciidoctor.version}</version>
29          <executions>
30          <execution>
31             <id>output-docbook</id>
32             <phase>generate-sources</phase>
33             <goals>
34                 <goal>process-asciidoc</goal>
35             </goals>
36             <configuration>
37                 <backend>docbook5</backend>
38                 <doctype>book</doctype>
39             </configuration>
40         </execution>
41         </executions>
42         <configuration>
43            <sourceDirectory>src/main/asciidoc</sourceDirectory>
44            <sourceDocumentName>${bookname}.adoc</sourceDocumentName>
45            <imagesDir>./images</imagesDir>
46         </configuration> 
47       </plugin>
48       <plugin>
49         <artifactId>maven-resources-plugin</artifactId>
50         <version>2.6</version>
51         <executions>
52           <execution>
53             <id>copy-resources</id>
54             <phase>generate-resources</phase>
55             <goals>
56               <goal>copy-resources</goal>
57             </goals>
58             <configuration>
59               <outputDirectory>${basedir}/target/generated-docs</outputDirectory>
60               <resources>          
61                 <resource>
62                   <directory>src/main/resources</directory>
63                   <includes>
64                     <include>**/*.*</include>
65                   </includes> 
66                </resource>
67               </resources>              
68             </configuration>            
69           </execution>
70         </executions>
71       </plugin> 
72       <plugin>
73         <groupId>com.inocybe.api</groupId>
74         <artifactId>sdndocs-maven-plugin</artifactId>
75         <version>0.1.0</version>
76         <executions>
77           <execution>
78             <id>generate-webhelp</id>
79             <goals>
80               <goal>generate-webhelp</goal>
81             </goals>
82             <phase>compile</phase>
83             <configuration>
84               <profileAudience>enduser</profileAudience>
85               <includes>target/generated-docs/${bookname}.xml</includes>
86               <generateToc>
87                 appendix  toc,title
88                 article/appendix  nop
89                 article   toc,title
90                 book      toc,title,figure,table,example,equation
91                 chapter   toc,title
92                 section   toc
93                 part      toc,title
94                 qandadiv  toc
95                 qandaset  toc
96                 reference toc,title
97                 set       toc,title
98               </generateToc>
99               <webhelpDirname>${bookname}</webhelpDirname>
100               <pdfFilenameBase>${bookname}</pdfFilenameBase>
101             </configuration>
102           </execution>
103         </executions>
104         <configuration>
105           <profileAudience>enduser</profileAudience>
106           <chapterAutolabel>1</chapterAutolabel>
107           <sectionAutolabel>0</sectionAutolabel>
108           <tocSectionDepth>1</tocSectionDepth>
109           <formalProcedures>0</formalProcedures>
110           <highlightSource>false</highlightSource>
111           <xincludeSupported>true</xincludeSupported>
112           <showXslMessages>true</showXslMessages>
113           <sourceDirectory>.</sourceDirectory>
114           <feedbackEmail>mlemay@inocybe.com</feedbackEmail>
115           <branding>opendaylight</branding>
116           <coverLogoLeft>2.6in</coverLogoLeft>
117 <!--          <enableDisqus>${comments.enabled}</enableDisqus>
118           <disqusShortname>os-user-guide</disqusShortname>
119           <enableGoogleAnalytics>1</enableGoogleAnalytics>
120           <googleAnalyticsId>UA-17511903-1</googleAnalyticsId>
121     -->   <suppressFooterNavigation>0</suppressFooterNavigation>
122           <canonicalUrlBase>http://docs.opendaylight.org/user-guide/content/</canonicalUrlBase>
123           <glossaryCollection>${basedir}/../glossary/glossary-terms.xml</glossaryCollection>
124         </configuration>
125       </plugin>
126       <plugin>
127        <groupId>org.apache.maven.plugins</groupId>
128        <artifactId>maven-site-plugin</artifactId>
129        <version>3.1</version>
130        <configuration>
131           <inputDirectory>${project.build.directory}/docbkx/webhelp</inputDirectory>
132        </configuration>
133        <dependencies>
134            <dependency>
135                <groupId>org.apache.maven.wagon</groupId>
136                <artifactId>wagon-webdav-jackrabbit</artifactId>
137                <version>2.2</version>
138            </dependency>
139            <dependency>
140                <groupId>org.slf4j</groupId>
141                <artifactId>slf4j-api</artifactId>
142                <version>1.6.1</version>
143            </dependency>
144        </dependencies>
145      </plugin>
146     </plugins>
147   </build>
148 </project>