[ajax4jsf-svn-commits] JBoss Ajax4JSF SVN: r234 - in trunk: src/main/assembly and 1 other directory.

ajax4jsf-svn-commits at lists.jboss.org ajax4jsf-svn-commits at lists.jboss.org
Mon Jun 4 20:28:12 EDT 2007


Author: alexsmirnov
Date: 2007-06-04 20:28:12 -0400 (Mon, 04 Jun 2007)
New Revision: 234

Added:
   trunk/docs/pom.xml
Modified:
   trunk/src/main/assembly/distribution.xml
   trunk/src/main/assembly/src.xml
Log:
Start coding to generate project documentation in Maven build

Added: trunk/docs/pom.xml
===================================================================
--- trunk/docs/pom.xml	                        (rev 0)
+++ trunk/docs/pom.xml	2007-06-05 00:28:12 UTC (rev 234)
@@ -0,0 +1,79 @@
+<?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>
+

Modified: trunk/src/main/assembly/distribution.xml
===================================================================
--- trunk/src/main/assembly/distribution.xml	2007-06-04 18:36:27 UTC (rev 233)
+++ trunk/src/main/assembly/distribution.xml	2007-06-05 00:28:12 UTC (rev 234)
@@ -2,6 +2,7 @@
 	<id>bin</id>
 	<formats>
 		<format>zip</format>
+		<format>tar.gz</format>
 	</formats>
 	<moduleSets>
 		<moduleSet>
@@ -37,7 +38,7 @@
 			</includes>
 			<binaries>
 				<includeDependencies>false</includeDependencies>
-				<outputDirectory>cdk/${artifactId}/lib</outputDirectory>
+				<outputDirectory>cdk/lib</outputDirectory>
 				<unpack>false</unpack>
 			</binaries>
 		</moduleSet>
@@ -103,6 +104,14 @@
 				<include>tlddoc/**</include>
 			</includes>
 		</fileSet>
+		<fileSet>
+			<directory>a4j-portlet/target</directory>
+			<outputDirectory>a4j-portlet</outputDirectory>
+			<includes>
+				<include>apidocs/**</include>
+				<include>tlddoc/**</include>
+			</includes>
+		</fileSet>
 	</fileSets>
 	<dependencySets>
 		<dependencySet>

Modified: trunk/src/main/assembly/src.xml
===================================================================
--- trunk/src/main/assembly/src.xml	2007-06-04 18:36:27 UTC (rev 233)
+++ trunk/src/main/assembly/src.xml	2007-06-05 00:28:12 UTC (rev 234)
@@ -2,6 +2,7 @@
   <id>src</id>
   <formats>
     <format>zip</format>
+    <format>tar.gz</format>
   </formats>
   <fileSets>
     <fileSet>




More information about the ajax4jsf-svn-commits mailing list