| 1 | <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"> |
|---|
| 2 | <modelVersion>4.0.0</modelVersion> |
|---|
| 3 | <parent> |
|---|
| 4 | <artifactId>pustefixframework</artifactId> |
|---|
| 5 | <groupId>org.pustefixframework</groupId> |
|---|
| 6 | <version>0.18.15-SNAPSHOT</version> |
|---|
| 7 | </parent> |
|---|
| 8 | |
|---|
| 9 | <name>Pustefix Docbook Documentation</name> |
|---|
| 10 | |
|---|
| 11 | <groupId>org.pustefixframework</groupId> |
|---|
| 12 | <artifactId>pustefix-docbook</artifactId> |
|---|
| 13 | <version>0.18.15-SNAPSHOT</version> |
|---|
| 14 | <packaging>pom</packaging> |
|---|
| 15 | |
|---|
| 16 | <build> |
|---|
| 17 | <plugins> |
|---|
| 18 | <plugin> |
|---|
| 19 | <!-- Notes: |
|---|
| 20 | * pdf generation needs an image path because the image is resolved at build-time |
|---|
| 21 | (html images are resolved at runtime) |
|---|
| 22 | * documentation: http://code.google.com/p/docbkx-tools/ |
|---|
| 23 | * built-in images (src/site/resources/docbkx/images/docbkx copied from |
|---|
| 24 | http://mvnrepository.com/artifact/org.docbook/docbook-xsl/1.72.0) |
|---|
| 25 | --> |
|---|
| 26 | <groupId>com.agilejava.docbkx</groupId> |
|---|
| 27 | <artifactId>docbkx-maven-plugin</artifactId> |
|---|
| 28 | <version>2.0.9</version> |
|---|
| 29 | <executions> |
|---|
| 30 | <execution> |
|---|
| 31 | <id>tutorial-html</id> |
|---|
| 32 | <phase>pre-site</phase> |
|---|
| 33 | <goals> |
|---|
| 34 | <goal>generate-html</goal> |
|---|
| 35 | </goals> |
|---|
| 36 | <configuration> |
|---|
| 37 | <sourceDirectory>src/docbkx/tutorial</sourceDirectory> |
|---|
| 38 | <includes>tutorial.xml</includes> |
|---|
| 39 | <admonGraphicsPath>images/docbkx/</admonGraphicsPath> |
|---|
| 40 | <calloutGraphicsPath>images/docbkx/callouts/</calloutGraphicsPath> |
|---|
| 41 | <htmlCustomization>${project.basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization> |
|---|
| 42 | </configuration> |
|---|
| 43 | </execution> |
|---|
| 44 | <execution> |
|---|
| 45 | <id>tutorial-pdf</id> |
|---|
| 46 | <phase>pre-site</phase> |
|---|
| 47 | <goals> |
|---|
| 48 | <goal>generate-pdf</goal> |
|---|
| 49 | </goals> |
|---|
| 50 | <configuration> |
|---|
| 51 | <sourceDirectory>src/docbkx/tutorial</sourceDirectory> |
|---|
| 52 | <includes>tutorial.xml</includes> |
|---|
| 53 | <imgSrcPath>../../site/resources/docbkx/</imgSrcPath> |
|---|
| 54 | <admonGraphicsPath>../../site/resources/docbkx/images/docbkx/</admonGraphicsPath> |
|---|
| 55 | <calloutGraphicsPath>../../site/resources/docbkx/images/docbkx/callouts/</calloutGraphicsPath> |
|---|
| 56 | </configuration> |
|---|
| 57 | </execution> |
|---|
| 58 | <execution> |
|---|
| 59 | <id>reference-html</id> |
|---|
| 60 | <phase>pre-site</phase> |
|---|
| 61 | <goals> |
|---|
| 62 | <goal>generate-html</goal> |
|---|
| 63 | </goals> |
|---|
| 64 | <configuration> |
|---|
| 65 | <sourceDirectory>src/docbkx/reference</sourceDirectory> |
|---|
| 66 | <includes>reference.xml</includes> |
|---|
| 67 | <htmlCustomization>${project.basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization> |
|---|
| 68 | </configuration> |
|---|
| 69 | </execution> |
|---|
| 70 | <execution> |
|---|
| 71 | <id>reference-pdf</id> |
|---|
| 72 | <phase>pre-site</phase> |
|---|
| 73 | <goals> |
|---|
| 74 | <goal>generate-pdf</goal> |
|---|
| 75 | </goals> |
|---|
| 76 | <configuration> |
|---|
| 77 | <sourceDirectory>src/docbkx/reference</sourceDirectory> |
|---|
| 78 | <includes>reference.xml</includes> |
|---|
| 79 | <imgSrcPath>../../site/resources/docbkx/</imgSrcPath> |
|---|
| 80 | <admonGraphicsPath>../../site/resources/docbkx/images/docbkx/</admonGraphicsPath> |
|---|
| 81 | <calloutGraphicsPath>../../site/resources/docbkx/images/docbkx/callouts/</calloutGraphicsPath> |
|---|
| 82 | </configuration> |
|---|
| 83 | </execution> |
|---|
| 84 | <execution> |
|---|
| 85 | <id>faq-html</id> |
|---|
| 86 | <phase>pre-site</phase> |
|---|
| 87 | <goals> |
|---|
| 88 | <goal>generate-html</goal> |
|---|
| 89 | </goals> |
|---|
| 90 | <configuration> |
|---|
| 91 | <sourceDirectory>src/docbkx/faq</sourceDirectory> |
|---|
| 92 | <includes>faq.xml</includes> |
|---|
| 93 | <htmlCustomization>${project.basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization> |
|---|
| 94 | </configuration> |
|---|
| 95 | </execution> |
|---|
| 96 | <execution> |
|---|
| 97 | <id>faq-pdf</id> |
|---|
| 98 | <phase>pre-site</phase> |
|---|
| 99 | <goals> |
|---|
| 100 | <goal>generate-pdf</goal> |
|---|
| 101 | </goals> |
|---|
| 102 | <configuration> |
|---|
| 103 | <sourceDirectory>src/docbkx/faq</sourceDirectory> |
|---|
| 104 | <includes>faq.xml</includes> |
|---|
| 105 | <imgSrcPath>../../site/resources/docbkx/</imgSrcPath> |
|---|
| 106 | <admonGraphicsPath>../../site/resources/docbkx/images/docbkx/</admonGraphicsPath> |
|---|
| 107 | <calloutGraphicsPath>../../site/resources/docbkx/images/docbkx/callouts/</calloutGraphicsPath> |
|---|
| 108 | </configuration> |
|---|
| 109 | </execution> |
|---|
| 110 | </executions> |
|---|
| 111 | <dependencies> |
|---|
| 112 | <dependency> |
|---|
| 113 | <groupId>org.docbook</groupId> |
|---|
| 114 | <artifactId>docbook-xml</artifactId> |
|---|
| 115 | <version>4.4</version> |
|---|
| 116 | <scope>runtime</scope> |
|---|
| 117 | </dependency> |
|---|
| 118 | </dependencies> |
|---|
| 119 | <configuration> |
|---|
| 120 | <xincludeSupported>true</xincludeSupported> |
|---|
| 121 | <chunkedOutput>false</chunkedOutput> |
|---|
| 122 | <targetDirectory>${basedir}/target/site/docbkx</targetDirectory> |
|---|
| 123 | |
|---|
| 124 | <sectionAutolabel>1</sectionAutolabel> |
|---|
| 125 | <sectionAutolabelMaxDepth>2</sectionAutolabelMaxDepth> |
|---|
| 126 | <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel> |
|---|
| 127 | <htmlCleanup>1</htmlCleanup> |
|---|
| 128 | <useExtensions>1</useExtensions> |
|---|
| 129 | <textinsertExtension>1</textinsertExtension> |
|---|
| 130 | <linenumberingExtension>1</linenumberingExtension> |
|---|
| 131 | <graphicsizeExtension>0</graphicsizeExtension> |
|---|
| 132 | <highlightSource>1</highlightSource> |
|---|
| 133 | <admonGraphics>1</admonGraphics> |
|---|
| 134 | <htmlStylesheet>css/style.css</htmlStylesheet> |
|---|
| 135 | <tocSectionDepth>2</tocSectionDepth> |
|---|
| 136 | |
|---|
| 137 | </configuration> |
|---|
| 138 | </plugin> |
|---|
| 139 | </plugins> |
|---|
| 140 | </build> |
|---|
| 141 | <reporting> |
|---|
| 142 | <plugins> |
|---|
| 143 | <plugin> |
|---|
| 144 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 145 | <artifactId>maven-changes-plugin</artifactId> |
|---|
| 146 | <version>2.3</version> |
|---|
| 147 | <reportSets> |
|---|
| 148 | <reportSet> |
|---|
| 149 | <reports> |
|---|
| 150 | <report>trac-report</report> |
|---|
| 151 | </reports> |
|---|
| 152 | </reportSet> |
|---|
| 153 | </reportSets> |
|---|
| 154 | <configuration> |
|---|
| 155 | <tracUser>mvnchr</tracUser> |
|---|
| 156 | <tracPassword>k7XvGD9i3MNz2bV4d78P</tracPassword> |
|---|
| 157 | <query>order=priority&milestone=${project.version}</query> |
|---|
| 158 | </configuration> |
|---|
| 159 | </plugin> |
|---|
| 160 | </plugins> |
|---|
| 161 | </reporting> |
|---|
| 162 | </project> |
|---|