[gatein-commits] gatein SVN: r262 - tools/maven/doc-parent.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Oct 5 05:49:05 EDT 2009


Author: thomas.heute at jboss.com
Date: 2009-10-05 05:49:05 -0400 (Mon, 05 Oct 2009)
New Revision: 262

Added:
   tools/maven/doc-parent/.project
   tools/maven/doc-parent/pom.xml
Log:
Adding doc-parent


Added: tools/maven/doc-parent/.project
===================================================================
--- tools/maven/doc-parent/.project	                        (rev 0)
+++ tools/maven/doc-parent/.project	2009-10-05 09:49:05 UTC (rev 262)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>gatein-doc-parent</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>

Added: tools/maven/doc-parent/pom.xml
===================================================================
--- tools/maven/doc-parent/pom.xml	                        (rev 0)
+++ tools/maven/doc-parent/pom.xml	2009-10-05 09:49:05 UTC (rev 262)
@@ -0,0 +1,80 @@
+<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">
+   <modelVersion>4.0.0</modelVersion>
+   <groupId>org.gatein.doc</groupId>
+   <artifactId>doc-parent</artifactId>
+   <packaging>pom</packaging>
+   <name>GateIn Doc - Doc Parent POM</name>
+   <version>1.0.0-SNAPSHOT</version>
+
+   <build>
+        <plugins>
+            <plugin>
+                <groupId>org.jboss.maven.plugins</groupId>
+                <artifactId>maven-jdocbook-plugin</artifactId>
+                <version>2.1.1</version>
+                <extensions>true</extensions>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.gatein.doc</groupId>
+                        <artifactId>gatein-docbook-xslt</artifactId>
+                        <version>1.0.0-SNAPSHOT</version>
+                    </dependency>
+                    <dependency>
+                        <groupId>org.gatein.doc</groupId>
+                        <artifactId>gatein-jdocbook-style</artifactId>
+                        <version>1.0.0-SNAPSHOT</version>
+                        <type>jdocbook-style</type>
+                    </dependency>
+                </dependencies>
+                <configuration>
+                    <sourceDocumentName>master.xml</sourceDocumentName>
+                    <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+                    <imageResource>
+                        <directory>${pom.basedir}/en</directory>
+                        <includes>
+                          <include>images/**/*</include>
+                        </includes>
+                    </imageResource>
+                    <!--<cssResource>
+                        <directory>src/main/css</directory>
+                    </cssResource>-->
+                    <formats>
+                        <format>
+                            <formatName>pdf</formatName>
+                            <stylesheetResource>classpath://xslt/org/gatein/pdf.xsl</stylesheetResource>
+                            <finalName>${pom.name}.pdf</finalName>
+                        </format>
+                        <format>
+                            <formatName>html</formatName>
+                            <stylesheetResource>classpath:/xslt/org/gatein/xhtml.xsl</stylesheetResource>
+                            <finalName>index.html</finalName>
+                        </format>
+                        <format>
+                            <formatName>html_single</formatName>
+                            <stylesheetResource>classpath:/xslt/org/gatein/xhtml-single.xsl</stylesheetResource>
+                            <finalName>index.html</finalName>
+                        </format>
+                        <format>
+                            <formatName>eclipse</formatName>
+                            <stylesheetResource>classpath:/xslt/org/gatein/eclipse.xsl</stylesheetResource>
+                            <finalName>index.html</finalName>
+                        </format>
+                    </formats>
+                    <options>
+                        <xincludeSupported>true</xincludeSupported>
+                        <xmlTransformerType>saxon</xmlTransformerType>
+                        <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
+                        <!--     could also locate the docbook dependency and inspect its version... -->
+                        <docbookVersion>1.74.0</docbookVersion>
+                    </options>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <properties>
+        <translation>en-US</translation>
+    </properties>
+
+</project>



More information about the gatein-commits mailing list