You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2009/09/09 17:53:14 UTC

svn commit: r813008 - /httpcomponents/project/pom.xml

Author: sebb
Date: Wed Sep  9 15:53:14 2009
New Revision: 813008

URL: http://svn.apache.org/viewvc?rev=813008&view=rev
Log:
Add common docbkx-maven-plugin configuration to parent pom

Modified:
    httpcomponents/project/pom.xml

Modified: httpcomponents/project/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/project/pom.xml?rev=813008&r1=813007&r2=813008&view=diff
==============================================================================
--- httpcomponents/project/pom.xml (original)
+++ httpcomponents/project/pom.xml Wed Sep  9 15:53:14 2009
@@ -286,9 +286,45 @@
           </executions>
         </plugin>
         <plugin>
-            <groupId>com.atlassian.maven.plugins</groupId>
-            <artifactId>maven-clover2-plugin</artifactId>
-            <version>2.6.0-M1</version>
+          <groupId>com.atlassian.maven.plugins</groupId>
+          <artifactId>maven-clover2-plugin</artifactId>
+          <version>2.6.0-M1</version>
+        </plugin>
+        <plugin>
+          <groupId>com.agilejava.docbkx</groupId>
+          <artifactId>docbkx-maven-plugin</artifactId>
+          <version>2.0.9</version>
+          <executions>
+            <execution>
+              <goals>
+                <goal>generate-html</goal>
+                <goal>generate-pdf</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>
+            <includes>index.xml</includes>
+            <chunkedOutput>true</chunkedOutput>
+            <xincludeSupported>true</xincludeSupported>
+            <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
+            <htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>
+            <htmlStylesheet>css/hc-tutorial.css</htmlStylesheet>
+            <entities>
+              <entity>
+                <name>version</name>
+                <value>${pom.version}</value>
+              </entity>
+            </entities>
+          </configuration>
         </plugin>
       </plugins>
     </pluginManagement>