Author: alexsmirnov
Date: 2007-06-05 17:49:31 -0400 (Tue, 05 Jun 2007)
New Revision: 239
Added:
trunk/docs/userguide/pom.xml
trunk/docs/xslt/
Removed:
trunk/docs/pom.xml
trunk/docs/resources/
Log:
reorganize projects for a Maven documentation build
Deleted: trunk/docs/pom.xml
===================================================================
--- trunk/docs/pom.xml 2007-06-05 18:58:45 UTC (rev 238)
+++ trunk/docs/pom.xml 2007-06-05 21:49:31 UTC (rev 239)
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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">
- <parent>
- <artifactId>master</artifactId>
- <groupId>org.ajax4jsf</groupId>
- <version>1.1.2-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.ajax4jsf</groupId>
- <artifactId>docs</artifactId>
- <version>1.1.2-SNAPSHOT</version>
- <description>Project documentation</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jboss-docbook-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-docbook-xslt</artifactId>
- <version>0.1</version>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>/standard/fopdf.xsl</stylesheetResource>
- <finalName>hibernate_reference.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>/standard/html.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <xincludeSupported>true</xincludeSupported>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <transformerParameters>
- <property>
- <name>custom.titlepage.img</name>
-
<value>${basedir}/src/main/resources/shared/images/hibernate_logo_a.png</value>
- </property>
- </transformerParameters>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-<!-- report plugin is currently hosed
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugin</groupId>
- <artifactId>jboss-docbook-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
--->
- <properties>
- <masterTranslation>en-US</masterTranslation>
- </properties>
-
-
-</project>
-
Copied: trunk/docs/userguide/pom.xml (from rev 238, trunk/docs/pom.xml)
===================================================================
--- trunk/docs/userguide/pom.xml (rev 0)
+++ trunk/docs/userguide/pom.xml 2007-06-05 21:49:31 UTC (rev 239)
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+ <parent>
+ <artifactId>master</artifactId>
+ <groupId>org.ajax4jsf</groupId>
+ <version>1.1.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.ajax4jsf</groupId>
+ <artifactId>docs</artifactId>
+ <version>1.1.2-SNAPSHOT</version>
+ <description>Project documentation</description>
+ <build>
+ <resources>
+ <resource>
+ <directory>resources</directory>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>transform</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <transformationSets>
+ <transformationSet>
+ <dir>${project.build.directory}/tld</dir>
+ <includes>*.tld</includes>
+ <outputDir>build/generated/en/</outputDir>
+ <stylesheet>userguide/f.xsl</stylesheet>
+ <fileMappers>
+ <fileMapper
implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
+ <targetExtension>_table.xml</targetExtension>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ </transformationSets>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jboss-docbook-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <!--
+ <dependencies>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-docbook-xslt</artifactId>
+ <version>0.1</version>
+ </dependency>
+ </dependencies>
+ -->
+ <configuration>
+ <sourceDirectory>
+ ${basedir}/userguide/en
+ </sourceDirectory>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>
+ /styles/en/fopdf.xsl
+ </stylesheetResource>
+ <finalName>
+ ajax4jsf_reference.pdf
+ </finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>
+ /styles/en/html.xsl
+ </stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <xincludeSupported>true</xincludeSupported>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <transformerParameters>
+ <property>
+ <name>custom.titlepage.img</name>
+ <value>
+ ${basedir}/src/main/resources/shared/images/hibernate_logo_a.png
+ </value>
+ </property>
+ </transformerParameters>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <!-- report plugin is currently hosed
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugin</groupId>
+ <artifactId>jboss-docbook-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+ -->
+ <properties>
+ <masterTranslation>en-US</masterTranslation>
+ </properties>
+
+
+</project>
+
Copied: trunk/docs/xslt (from rev 238, trunk/docs/resources)