Author: SeanRogers
Date: 2010-07-11 22:06:34 -0400 (Sun, 11 Jul 2010)
New Revision: 17936
Added:
root/cdk/trunk/docs/Component_Development_Kit_Guide/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/publican.cfg
Removed:
root/cdk/trunk/docs/Component_Development_Kit_Guide/en-US/
root/cdk/trunk/docs/Component_Development_Kit_Guide/publican.cfg
root/cdk/trunk/docs/guide/
Modified:
root/cdk/trunk/docs/Component_Development_Kit_Guide/pom.xml
root/cdk/trunk/docs/pom.xml
Log:
Restructured CDK Guide to match other documentation
Copied: root/cdk/trunk/docs/Component_Development_Kit_Guide (from rev 17935,
root/cdk/trunk/docs/guide)
Modified: root/cdk/trunk/docs/Component_Development_Kit_Guide/pom.xml
===================================================================
--- root/cdk/trunk/docs/guide/pom.xml 2010-07-12 00:57:52 UTC (rev 17935)
+++ root/cdk/trunk/docs/Component_Development_Kit_Guide/pom.xml 2010-07-12 02:06:34 UTC
(rev 17936)
@@ -1,267 +1,114 @@
-<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">
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.cdk.docs</groupId>
- <artifactId>guide-${translation}</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <packaging>jdocbook</packaging>
- <name>${bookname}-(${translation})</name>
-
- <parent>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>docs</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- </parent>
+<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">
- <properties>
- <translation>en-US</translation>
- <docname>Component_Development_Kit_Guide</docname>
- <bookname>Component Development Kit Guide</bookname>
- </properties>
+ <modelVersion>4.0.0</modelVersion>
- <repositories>
- <repository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <
url>https://repository.jboss.org/nexus/content/groups/public</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
+ <groupId>org.richfaces.cdk-guide</groupId>
+ <artifactId>richfaces-cdk-guide</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>RichFaces CDK Guide</name>
+ <
url>http://www.jboss.org/richfaces</url>
+
+ <parent>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>docs-parent</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
- <pluginRepositories>
- <pluginRepository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <
url>https://repository.jboss.org/nexus/content/groups/public</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
-
- <profiles>
+ <properties>
+ <docname>Component_Development_Kit_Guide</docname>
+ <bookname>Component Development Kit Guide</bookname>
+ </properties>
- <!-- mvn compile -->
- <profile>
- <id>all</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
+ <build>
+ <defaultGoal>process-classes</defaultGoal>
+ <plugins>
+ <plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ </plugin>
+ <!--
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <configuration>
+ <tasks>
+ <copy
file="${basedir}/target/docbook/publish/en-US/pdf/${pdf.name}"
todir="${basedir}" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-zip</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+
<file>${project.build.outputDirectory}/${project.artifactId}-${project.version}.war</file>
+ <type>war</type>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ -->
+ </plugins>
+ </build>
- <!-- mvn compile -Phtml -->
- <profile>
- <id>html</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profiles>
- <!-- mvn compile -Phtml-single -->
- <profile>
- <id>html-single</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profile>
+ <id>translations</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>translate</goal>
+ </goals>
+ </execution>
+ </executions>
- <!-- mvn compile -Ppdf -->
- <profile>
- <id>pdf</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <!-- mvn compile -Pdocs -->
- <!-- For compiling from parent pom.xml -->
- <profile>
- <id>docs</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <imageResource>
- <directory>guide/${translation}</directory>
- <includes>
- <include>images/*</include>
- </includes>
- </imageResource>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <configuration>
+ <translations>
+ <translation>it-IT</translation>
+ <translation>zh-CN</translation>
+ <translation>zh-TW</translation>
+ <translation>es-ES</translation>
+ <translation>ko-KR</translation>
+ <translation>de-DE</translation>
+ <translation>pt-BR</translation>
+ </translations>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- </profiles>
+ </profiles>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDocumentName>${docname}.xml</sourceDocumentName>
- <sourceDirectory>.</sourceDirectory>
- <imageResource>
- <directory>${project.basedir}/${translation}</directory>
- <includes>
- <include>images/*</include>
- </includes>
- </imageResource>
- <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.72.0</docbookVersion>
- <transformerParameters>
- <property>
- <name>javax.xml.parsers.DocumentBuilderFactory</name>
-
<value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
- </property>
- <property>
- <name>javax.xml.parsers.SAXParserFactory</name>
- <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
- </property>
- </transformerParameters>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/root/cdk/t...
+
<
developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/root...
+ <
url>http://fisheye.jboss.org/browse/richfaces/</url>
+ </scm>
</project>
-
Deleted: root/cdk/trunk/docs/Component_Development_Kit_Guide/publican.cfg
===================================================================
--- root/cdk/trunk/docs/guide/publican.cfg 2010-07-12 00:57:52 UTC (rev 17935)
+++ root/cdk/trunk/docs/Component_Development_Kit_Guide/publican.cfg 2010-07-12 02:06:34
UTC (rev 17936)
@@ -1,7 +0,0 @@
-# Config::Simple 4.59
-# Fri Nov 20 15:18:13 2009
-
-show_remarks: 1
-debug: 1
-xml_lang: en-US
-#brand: jboss-community-richfaces
Copied: root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US (from
rev 17935, root/cdk/trunk/docs/guide/en-US)
Copied: root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/publican.cfg
(from rev 17935, root/cdk/trunk/docs/guide/publican.cfg)
===================================================================
--- root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/publican.cfg
(rev 0)
+++
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/publican.cfg 2010-07-12
02:06:34 UTC (rev 17936)
@@ -0,0 +1,7 @@
+# Config::Simple 4.59
+# Fri Nov 20 15:18:13 2009
+
+show_remarks: 1
+debug: 1
+xml_lang: en-US
+#brand: jboss-community-richfaces
Modified: root/cdk/trunk/docs/pom.xml
===================================================================
--- root/cdk/trunk/docs/pom.xml 2010-07-12 00:57:52 UTC (rev 17935)
+++ root/cdk/trunk/docs/pom.xml 2010-07-12 02:06:34 UTC (rev 17936)
@@ -9,7 +9,7 @@
<packaging>pom</packaging>
<name>Components Development Kit documentation</name>
<modules>
- <module>guide</module>
+ <module>Component_Development_Kit_Guide</module>
</modules>
<!-- Minimal build configuration -->
<build>