Author: smukhina
Date: 2010-04-15 15:45:43 -0400 (Thu, 15 Apr 2010)
New Revision: 21505
Modified:
trunk/as/docs/reference/pom.xml
trunk/birt/docs/pom.xml
trunk/bpel/docs/reference/pom.xml
trunk/documentation/guides/Beginners_Guide/pom.xml
trunk/documentation/guides/Exadel-migration/pom.xml
trunk/documentation/guides/GettingStartedGuide/pom.xml
trunk/documentation/jboss-tools-docs/all-guides.xml
trunk/documentation/jboss-tools-docs/index/pom.xml
trunk/documentation/jboss-tools-docs/pom.xml
trunk/documentation/jbosstools-docbook-xslt/pom.xml
trunk/documentation/jbosstools-jdocbook-style/pom.xml
trunk/drools/docs/guvnor_ref/pom.xml
trunk/drools/docs/reference/pom.xml
trunk/esb/docs/esb_ref_guide/pom.xml
trunk/hibernatetools/docs/reference/pom.xml
trunk/jbpm/docs/converter_ref/pom.xml
trunk/jbpm/docs/reference/pom.xml
trunk/jmx/docs/reference/pom.xml
trunk/jsf/docs/jsf_tools_ref_guide/pom.xml
trunk/jsf/docs/jsf_tools_tutorial/pom.xml
trunk/jsf/docs/userguide/pom.xml
trunk/portlet/docs/reference/pom.xml
trunk/seam/docs/reference/pom.xml
trunk/smooks/docs/reference/pom.xml
trunk/struts/docs/struts_tools_ref_guide/pom.xml
trunk/struts/docs/struts_tools_tutorial/pom.xml
trunk/ws/docs/reference/pom.xml
Log:
TOOLSDOC-50 - Building docs with maven 3.0 - initial version of docs built with both
mavens and nightly docs profile is provided
Modified: trunk/as/docs/reference/pom.xml
===================================================================
--- trunk/as/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/as/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,100 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>as-ref-guide-${translation}</artifactId>
+ <artifactId>as-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>AS_Reference_Guide</name>
-
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -106,14 +84,13 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
-
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -127,7 +104,7 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -142,7 +119,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -160,14 +166,12 @@
<
url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
<properties>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/birt/docs/pom.xml
===================================================================
--- trunk/birt/docs/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/birt/docs/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,117 +5,95 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>birt-reference-guide-${translation}</artifactId>
+ <artifactId>birt-reference-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Birt_Reference_Guide</name>
-
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
-
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
-
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
-
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
-
-
-
- <configuration>
+ <configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
- <imageResource>
- <directory>${pom.basedir}/en</directory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
+ <imageResource>
+ <directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
<include>files/*</include>
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
-
- <formats>
- <format>
- <formatName>pdf</formatName>
+
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -129,10 +107,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -140,8 +119,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -161,13 +171,11 @@
</distributionManagement>
<properties>
-
<stylesdir>../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
-
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/bpel/docs/reference/pom.xml
===================================================================
--- trunk/bpel/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/bpel/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -4,103 +4,95 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>BPEL_Guide</artifactId>
- <version>1</version>
+ <artifactId>BPEL_Guide-en-US</artifactId>
+ <version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JBoss BPEL User Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
+
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
- <directory>${pom.basedir}/en</directory>
+ <directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
+ <include>files/*</include>
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -114,11 +106,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -126,8 +118,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -147,12 +170,12 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/documentation/guides/Beginners_Guide/pom.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/pom.xml 2010-04-15 18:58:36 UTC (rev
21504)
+++ trunk/documentation/guides/Beginners_Guide/pom.xml 2010-04-15 19:45:43 UTC (rev
21505)
@@ -5,85 +5,73 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>beginers-guide${translation}</artifactId>
+ <artifactId>beginers-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Beginners_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+ <dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
-
+ </dependencies>
<configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -91,14 +79,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -112,7 +100,7 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -126,9 +114,38 @@
</options>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
-
<distributionManagement>
<repository>
<!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
@@ -143,15 +160,12 @@
<
url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <translation>en-US</translation>
- </properties>
-
-
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/documentation/guides/Exadel-migration/pom.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/pom.xml 2010-04-15 18:58:36 UTC (rev
21504)
+++ trunk/documentation/guides/Exadel-migration/pom.xml 2010-04-15 19:45:43 UTC (rev
21505)
@@ -1,162 +1,170 @@
<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">
+
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>
+ <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.tools</groupId>
- <artifactId>exadel-studio-migration-guide${translation}</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jdocbook</packaging>
- <name>Exadel_Studio_Migration_Guide</name>
-
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
-
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
- <imageResource>
- <directory>${pom.basedir}/en-US</directory>
- <includes>
- <include>images/**/*</include>
- </includes>
- </imageResource>
- <cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>exadel-studio-migration-guide-en-US</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>Exadel_Studio_Migration_Guide</name>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/com/jboss/tools/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.72.0</docbookVersion>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
- <distributionManagement>
- <repository>
- <!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
- <!-- It is anticipated that ${maven.repository.root} be set in user's
settings.xml -->
- <!-- todo : replace this with direct svn access once the svnkit providers are
available -->
- <id>repository.jboss.org</id>
- <url>file://${maven.repository.root}</url>
- </repository>
- <snapshotRepository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <
url>dav:https://snapshots.jboss.org/maven2</url>
- </snapshotRepository>
- </distributionManagement>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.1</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
+ <imageResource>
+ <directory>${pom.basedir}/en-US</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <cssResource>
+ <directory>${cssdir}</directory>
+ </cssResource>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+
<stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+
<stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+
<stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+
<stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <docbookVersion>1.72.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
- <properties>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's
settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers
are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <
url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
+ <properties>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/documentation/guides/GettingStartedGuide/pom.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/pom.xml 2010-04-15 18:58:36 UTC (rev
21504)
+++ trunk/documentation/guides/GettingStartedGuide/pom.xml 2010-04-15 19:45:43 UTC (rev
21505)
@@ -5,83 +5,76 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>getting-started-guide-${translation}</artifactId>
+ <artifactId>getting-started-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Getting_Started_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
-
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
-
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
-
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
</dependencies>
- <configuration>
+ <configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -90,32 +83,30 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
-
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
-
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+
<stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+
<stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+
<stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+
<stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
<options>
<useRelativeImageUris>
true
@@ -128,19 +119,60 @@
</options>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
-
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's
settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers
are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <
url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
+
<properties>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/documentation/jboss-tools-docs/all-guides.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/all-guides.xml 2010-04-15 18:58:36 UTC (rev
21504)
+++ trunk/documentation/jboss-tools-docs/all-guides.xml 2010-04-15 19:45:43 UTC (rev
21505)
@@ -1,374 +1,349 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<assembly>
- <id>all-guides</id>
-
- <formats>
- <format>dir</format>
- </formats>
- <includeBaseDirectory>false</includeBaseDirectory>
-<!--
- <moduleSets>
- <moduleSet>
- <includes>
- <include>org.jboss.tools:exadel-migration-${translation}</include>
- </includes>
- <binaries>
- <outputDirectory></outputDirectory>
- <unpack>true</unpack>
- </binaries>
- </moduleSet>
- </moduleSets>
- -->
- <fileSets>
- <fileSet>
- <directory>index/target/docbook/publish/en-US/html_single/</directory>
- <outputDirectory>../</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>index.html</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>index/target/docbook/publish/en-US/html_single/</directory>
- <outputDirectory>../</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <excludes>
- <exclude>index.html</exclude>
- </excludes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../guides/Exadel-migration/target/docbook/publish/en-US</directory>
- <outputDirectory>/Exadel-migration</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../guides/GettingStartedGuide/target/docbook/publish/en-US</directory>
- <outputDirectory>/GettingStartedGuide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>all-guides</id>
+
+ <formats>
+ <format>dir</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>../guides/Exadel-migration/target/docbook/publish/en-US</directory>
+ <outputDirectory>/Exadel-migration</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
</fileSet>
- <fileSet>
- <directory>../guides/Beginners_Guide/target/docbook/publish/en-US</directory>
- <outputDirectory>/beginners_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <!--fileSet>
- <directory>../guides/GettingStartedGuide/en</directory>
- <outputDirectory>/GettingStartedGuide</outputDirectory>
- <filtered>false</filtered>
- <includes>
- <include>database.zip</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet-->
- <fileSet>
- <directory>../guides/Legacy-jsf-struts/target/docbook/publish/en-US</directory>
- <outputDirectory>/Legacy-jsf-struts</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../as/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/as</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../hibernatetools/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/hibernatetools</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../jbpm/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_jbpm_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../jbpm/docs/converter_ref/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_bpmn_convert_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../jsf/docs/userguide/target/docbook/publish/en-US</directory>
- <outputDirectory>/jsf</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../seam/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/seam</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../jsf/docs/jsf_tools_ref_guide/target/docbook/publish/en-US</directory>
- <outputDirectory>/jsf_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../jsf/docs/jsf_tools_tutorial/target/docbook/publish/en-US</directory>
- <outputDirectory>/jsf_tools_tutorial</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../struts/docs/struts_tools_tutorial/target/docbook/publish/en-US</directory>
- <outputDirectory>/struts_tools_tutorial</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../struts/docs/struts_tools_ref_guide/target/docbook/publish/en-US</directory>
- <outputDirectory>/struts_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- <fileSet>
- <directory>../../esb/docs/esb_ref_guide/target/docbook/publish/en-US</directory>
- <outputDirectory>/esb_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../ws/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/ws_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../portlet/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_portal_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../birt/docs/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_birt_plugin_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../drools/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/drools_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../drools/docs/guvnor_ref/target/docbook/publish/en-US</directory>
- <outputDirectory>/guvnor_tools_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../smooks/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jboss_smooks_plugin_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
- <fileSet>
- <directory>../../jmx/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/jmx_ref_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
-
-
- <fileSet>
- <directory>../../bpel/docs/reference/target/docbook/publish/en-US</directory>
- <outputDirectory>/bpel_user_guide</outputDirectory>
- <filtered>false</filtered>
- <lineEnding>keep</lineEnding>
- <includes>
- <include>**/*.*</include>
- </includes>
- <useStrictFiltering>false</useStrictFiltering>
- <useDefaultExcludes>true</useDefaultExcludes>
- <fileMode>0644</fileMode>
- <directoryMode>0755</directoryMode>
- </fileSet>
- </fileSets>
-
-</assembly>
+ <fileSet>
+ <directory>index/target/docbook/publish/en-US/html_single/</directory>
+ <outputDirectory>../</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <!-- Maybe it is unnecessary fileSet and it could be removed at all?
-->
+ <!--fileSet>
+ <directory>../guides/GettingStartedGuide/en</directory>
+ <outputDirectory>/GettingStartedGuide</outputDirectory>
+ <filtered>false</filtered>
+ <includes>
+ <include>database.zip</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet-->
+
+ <fileSet>
+ <directory>../guides/GettingStartedGuide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/GettingStartedGuide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../guides/Beginners_Guide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/beginners_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../guides/Legacy-jsf-struts/target/docbook/publish/en-US</directory>
+ <outputDirectory>/Legacy-jsf-struts</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../as/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/as</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../hibernatetools/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/hibernatetools</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jbpm/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_jbpm_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jbpm/docs/converter_ref/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_bpmn_convert_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jsf/docs/userguide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jsf</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../seam/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/seam</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jsf/docs/jsf_tools_ref_guide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jsf_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../jsf/docs/jsf_tools_tutorial/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jsf_tools_tutorial</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../struts/docs/struts_tools_tutorial/target/docbook/publish/en-US</directory>
+ <outputDirectory>/struts_tools_tutorial</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../struts/docs/struts_tools_ref_guide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/struts_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../esb/docs/esb_ref_guide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/esb_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../ws/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/ws_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../portlet/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_portal_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../birt/docs/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_birt_plugin_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../drools/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/drools_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../drools/docs/guvnor_ref/target/docbook/publish/en-US</directory>
+ <outputDirectory>/guvnor_tools_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../smooks/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jboss_smooks_plugin_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+ <fileSet>
+ <directory>../../jmx/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jmx_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+
+
+ <fileSet>
+ <directory>../../bpel/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/bpel_user_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ </fileSets>
+
+</assembly>
\ No newline at end of file
Modified: trunk/documentation/jboss-tools-docs/index/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/pom.xml 2010-04-15 18:58:36 UTC (rev
21504)
+++ trunk/documentation/jboss-tools-docs/index/pom.xml 2010-04-15 19:45:43 UTC (rev
21505)
@@ -3,69 +3,92 @@
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.jboss.tools</groupId>
<artifactId>all-guides-index</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>All_Userguides_index</name>
-
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</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>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
-
<configuration>
<sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
- <directory>${pom.basedir}/en</directory>
+ <directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
-
<formats>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml-single.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/com/jboss/tools/xhtml-single.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.72.0</docbookVersion>
</options>
-
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
-
+
<distributionManagement>
<repository>
<!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
@@ -80,11 +103,10 @@
<
url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
+
<properties>
- <stylesdir>../../jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <cssdir>../../jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<translation>en-US</translation>
- </properties>
+ </properties>
-</project>
+</project>
\ No newline at end of file
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -11,9 +11,7 @@
<name>All_Userguides</name>
<modules>
- <!--<module>../jbosstools-docbook-xslt</module>
- <module>../jbosstools-jdocbook-style</module>-->
- <module>../guides/Exadel-migration</module>
+ <module>../guides/Exadel-migration</module>
<module>../guides/GettingStartedGuide</module>
<module>../guides/Beginners_Guide</module>
<module>../../as/docs/reference</module>
@@ -35,14 +33,11 @@
<module>../../jbpm/docs/converter_ref</module>
<module>../../jmx/docs/reference</module>
<module>../../bpel/docs/reference</module>
-
-
<module>index</module>
</modules>
<build>
<plugins>
-
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-2</version>
@@ -56,7 +51,36 @@
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -64,4 +88,4 @@
<translation>en-US</translation>
</properties>
-</project>
+</project>
\ No newline at end of file
Modified: trunk/documentation/jbosstools-docbook-xslt/pom.xml
===================================================================
--- trunk/documentation/jbosstools-docbook-xslt/pom.xml 2010-04-15 18:58:36 UTC (rev
21504)
+++ trunk/documentation/jbosstools-docbook-xslt/pom.xml 2010-04-15 19:45:43 UTC (rev
21505)
@@ -1,4 +1,4 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
+<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">
@@ -10,62 +10,53 @@
<version>1.0.0-SNAPSHOT</version>
<name>JBoss Tools DocBook XSLT</name>
- <description>The main project to transform DocBook XML into XHTML and other
formats for JBoss Tools Documentation.</description>
+ <description>The main project to transform DocBook XML into XHTML and other
formats for JBoss Tools Documentation.
+ </description>
<
url>http://www.jboss.org/tools/</url>
<contributors>
- <contributor>
- <name>Mark Newton</name>
- <email>mark.newton(a)jboss.org</email>
- <organization>Red Hat</organization>
- <roles>
- <role>Content Lead</role>
- </roles>
- <timezone>+1</timezone>
- </contributor>
+ <contributor>
+ <name>Mark Newton</name>
+ <email>mark.newton(a)jboss.org</email>
+ <organization>Red Hat</organization>
+ <roles>
+ <role>Content Lead</role>
+ </roles>
+ <timezone>+1</timezone>
+ </contributor>
</contributors>
- <scm>
-
<
developerConnection>scm:svn:https://svn.jboss.org/repos/jbosstools/tru...
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbosstools/trunk/doc...
- </scm>
-
+ <scm>
+
<
developerConnection>scm:svn:https://svn.jboss.org/repos/jbosstools/tru...
+ </developerConnection>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbosstools/trunk/doc...
+ </connection>
+ </scm>
<dependencies>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0.Beta1</version>
+ <scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>com.jboss</groupId>
+ <artifactId>jbossent-docbook-xslt</artifactId>
+ <version>1.0.0.Beta1</version>
+ <scope>compile</scope>
+ </dependency>
</dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0.Beta1</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ <version>1.0-beta-2</version>
+ </extension>
+ </extensions>
+ </build>
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav</artifactId>
- <version>1.0-beta-2</version>
- </extension>
- </extensions>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
<distributionManagement>
<repository>
<!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
@@ -80,5 +71,10 @@
<
url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
-</project>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>repository.sonatype.org</id>
+ <
url>http://repository.sonatype.org/content/groups/public</url>
+ </pluginRepository>
+ </pluginRepositories>
+</project>
\ No newline at end of file
Modified: trunk/documentation/jbosstools-jdocbook-style/pom.xml
===================================================================
--- trunk/documentation/jbosstools-jdocbook-style/pom.xml 2010-04-15 18:58:36 UTC (rev
21504)
+++ trunk/documentation/jbosstools-jdocbook-style/pom.xml 2010-04-15 19:45:43 UTC (rev
21505)
@@ -19,29 +19,54 @@
</organization>
<contributors>
- <contributor>
- <name>Mark Newton</name>
- <email>mark.newton(a)jboss.org</email>
- <organization>Red Hat</organization>
- <roles>
- <role>Content Lead</role>
- </roles>
- <timezone>+1</timezone>
- </contributor>
+ <contributor>
+ <name>Mark Newton</name>
+ <email>mark.newton(a)jboss.org</email>
+ <organization>Red Hat</organization>
+ <roles>
+ <role>Content Lead</role>
+ </roles>
+ <timezone>+1</timezone>
+ </contributor>
</contributors>
- <scm>
-
<
developerConnection>scm:svn:https://svn.jboss.org/repos/jbosstools/tru...
-
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbosstools/trunk/doc...
- </scm>
-
+ <scm>
+ <developerConnection>
+
scm:svn:https://svn.jboss.org/repos/jbosstools/trunk/documentation/jbosst...
+ </developerConnection>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/jbosstools/trunk/doc...
+ </connection>
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.jboss</groupId>
+ <artifactId>jbossent-jdocbook-style</artifactId>
+ <version>1.0.0.Beta1</version>
+ <type>jdocbook-style</type>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-jdocbook-style</artifactId>
+ <version>1.1.0.Beta1</version>
+ <type>jdocbook-style</type>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-style-plugin</artifactId>
- <version>1.0.0</version>
+ <version>2.0.0</version>
<extensions>true</extensions>
+ <configuration>
+ <cssSourceDirectory>
+ ${pom.basedir}/src/main
+ </cssSourceDirectory>
+ </configuration>
</plugin>
</plugins>
</build>
@@ -61,4 +86,4 @@
</snapshotRepository>
</distributionManagement>
-</project>
+</project>
\ No newline at end of file
Modified: trunk/drools/docs/guvnor_ref/pom.xml
===================================================================
--- trunk/drools/docs/guvnor_ref/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/drools/docs/guvnor_ref/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>guvnor-tools-ref-guide-${translation}</artifactId>
+ <artifactId>guvnor-tools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Guvnor_Tools_Reference_Guide</name>
@@ -35,7 +35,7 @@
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
<profile>
@@ -48,18 +48,24 @@
</properties>
</profile>
</profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+ <dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
<artifactId>jbosstools-docbook-xslt</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
@@ -68,33 +74,13 @@
<artifactId>jbossent-docbook-xslt</artifactId>
<version>1.0.0</version>
</dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -102,14 +88,13 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
-
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -123,7 +108,7 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -138,7 +123,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -156,13 +170,12 @@
<
url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
- <properties>
+ <properties>
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ </properties>
</project>
Modified: trunk/drools/docs/reference/pom.xml
===================================================================
--- trunk/drools/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/drools/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>drools-tools-ref-guide-${translation}</artifactId>
+ <artifactId>drools-tools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Drools_Tools_Reference_Guide</name>
@@ -36,7 +36,7 @@
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
<profile>
@@ -55,47 +55,28 @@
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
+
</dependencies>
<configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -103,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -124,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -139,7 +120,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -158,13 +168,12 @@
</snapshotRepository>
</distributionManagement>
- <properties>
+ <properties>
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ </properties>
</project>
Modified: trunk/esb/docs/esb_ref_guide/pom.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/esb/docs/esb_ref_guide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>esb-reference-guide-${translation}</artifactId>
+ <artifactId>esb-reference-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>ESB_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
-
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
- <formats>
+ <formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,10 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -126,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -147,13 +169,12 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/hibernatetools/docs/reference/pom.xml
===================================================================
--- trunk/hibernatetools/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/hibernatetools/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,87 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>hibernatetools-ref-guide-${translation}</artifactId>
+ <artifactId>hibernatetools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernatetools_Reference_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
+<profiles>
<profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
-
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
-
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
+
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -93,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -114,12 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -127,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -148,13 +169,11 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jbpm/docs/converter_ref/pom.xml
===================================================================
--- trunk/jbpm/docs/converter_ref/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jbpm/docs/converter_ref/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,85 +5,77 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>converter-ref-guide${translation}</artifactId>
+ <artifactId>converter-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Converter_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
+
+
+ </dependencies>
<configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -91,14 +83,13 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
-
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -112,11 +103,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -124,8 +115,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -143,15 +165,12 @@
<
url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
-
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <translation>en-US</translation>
- </properties>
-
-
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jbpm/docs/reference/pom.xml
===================================================================
--- trunk/jbpm/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jbpm/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,87 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>jbpm-ref-guide${translation}</artifactId>
+ <artifactId>jbpm-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JBPM_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
-
- </dependency>
+
+
</dependencies>
+
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -93,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -114,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -126,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -147,13 +169,12 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jmx/docs/reference/pom.xml
===================================================================
--- trunk/jmx/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jmx/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,99 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>jmx-tools-ref-guide-${translation}</artifactId>
+ <artifactId>jmx-tools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JMX_Tools_Reference_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
-
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
-
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -105,30 +84,30 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
+ <format>
+ <formatName>pdf</formatName>
+
<stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+
<stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+
<stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
</formats>
<options>
@@ -141,7 +120,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -163,10 +171,9 @@
<properties>
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jsf/docs/jsf_tools_ref_guide/pom.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jsf/docs/jsf_tools_ref_guide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>jsf-tools-reference-guide-${translation}</artifactId>
+ <artifactId>jsf-tools-reference-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JSF_Tools_Reference_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
-
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
-
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -127,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -148,13 +169,11 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jsf/docs/jsf_tools_tutorial/pom.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jsf/docs/jsf_tools_tutorial/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>jsf-tools-tutorial-${translation}</artifactId>
+ <artifactId>jsf-tools-tutorial-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JSF_Tools_Tutorial</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
- <sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
- <format>
- <formatName>pdf</formatName>
+ <format>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -127,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -148,13 +169,11 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/jsf/docs/userguide/pom.xml
===================================================================
--- trunk/jsf/docs/userguide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/jsf/docs/userguide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,77 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>visua-web-tools-guide-${translation}</artifactId>
+ <artifactId>visua-web-tools-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Visual_Web_Tools_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
<profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
<id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ <version>2.2.1</version>
<extensions>true</extensions>
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +83,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
- <format>
- <formatName>pdf</formatName>
+ <format>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,7 +104,7 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -129,16 +118,60 @@
</options>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/com/</include>
+ <include>html/org/</include>
+ <include>html_single/com/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/com/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's
settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers
are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <
url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
+
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/portlet/docs/reference/pom.xml
===================================================================
--- trunk/portlet/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/portlet/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>portal-tools-ref-guide-${translation}</artifactId>
+ <artifactId>portal-tools-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>JBoss_Portal_Tools_Reference_Guide</name>
@@ -36,7 +36,7 @@
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
<profile>
@@ -49,57 +49,35 @@
</properties>
</profile>
</profiles>
-
-
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
-
<dependencies>
<dependency>
<groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -107,30 +85,30 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
+ <directory>${cssdir}</directory>
+ </cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
- <stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
+ <formatName>pdf</formatName>
+
<stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+
<stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+
<stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
</formats>
<options>
@@ -143,7 +121,36 @@
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -167,10 +174,8 @@
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<master>master.xml</master>
- <translation>en-US</translation>
- </properties>
-
-
+ </properties>
</project>
Modified: trunk/seam/docs/reference/pom.xml
===================================================================
--- trunk/seam/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/seam/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,88 +5,78 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>seam-ref-guide-${translation}</artifactId>
+ <artifactId>seam-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Seam_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -94,14 +84,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -115,11 +105,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -127,8 +117,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -148,12 +169,12 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/smooks/docs/reference/pom.xml
===================================================================
--- trunk/smooks/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/smooks/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,112 +5,95 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>smooks-ref-guide-${translation}</artifactId>
+ <artifactId>smooks-ref-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Smooks_Reference_Guide</name>
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
-
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
-
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
<build>
+
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
- <dependencies>
+
+ <dependencies>
<dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
+ <include>files/*</include>
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
- <formats>
+ <formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -124,11 +107,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -136,8 +119,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -158,10 +172,10 @@
<properties>
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/struts/docs/struts_tools_ref_guide/pom.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/struts/docs/struts_tools_ref_guide/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,87 +5,77 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>struts-tools-reference-guide-${translation}</artifactId>
+ <artifactId>struts-tools-reference-guide-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Struts_Tools_Reference_Guide</name>
<profiles>
- <profile>
- <id>release</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master_output.xml</master>
-
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
-
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency> </dependencies>
+
+
+ </dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -93,14 +83,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
- <format>
- <formatName>pdf</formatName>
+ <format>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -114,11 +104,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -126,8 +116,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -147,12 +168,11 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/struts/docs/struts_tools_tutorial/pom.xml
===================================================================
--- trunk/struts/docs/struts_tools_tutorial/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/struts/docs/struts_tools_tutorial/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>struts-tools-tutorial-${translation}</artifactId>
+ <artifactId>struts-tools-tutorial-en-US</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Struts_Tools_Tutorial</name>
@@ -36,7 +36,7 @@
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
</properties>
</profile>
<profile>
@@ -49,54 +49,33 @@
</properties>
</profile>
</profiles>
-
-
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
+ <version>2.2.1</version>
<extensions>true</extensions>
+
<dependencies>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
<dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <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>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
+
+
</dependencies>
<configuration>
<sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -104,14 +83,14 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
+ <directory>${cssdir}</directory>
</cssResource>
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
+ <finalName>${project.name}.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
@@ -125,11 +104,11 @@
</format>
<format>
<formatName>eclipse</formatName>
-
<stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
-
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -137,8 +116,39 @@
<!-- could also locate the docbook dependency and inspect
its version... -->
<docbookVersion>1.72.0</docbookVersion>
</options>
+
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
@@ -158,12 +168,12 @@
</distributionManagement>
<properties>
-
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>master.xml</master>
- <translation>en-US</translation>
- </properties>
+
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
</project>
Modified: trunk/ws/docs/reference/pom.xml
===================================================================
--- trunk/ws/docs/reference/pom.xml 2010-04-15 18:58:36 UTC (rev 21504)
+++ trunk/ws/docs/reference/pom.xml 2010-04-15 19:45:43 UTC (rev 21505)
@@ -1,101 +1,82 @@
-<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.jboss.tools</groupId>
- <artifactId>ws-ref-guide-${translation}</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>jdocbook</packaging>
- <name>WS_Reference_Guide</name>
-
- <profiles>
- <profile>
- <id>release</id>
- <properties>
- <!-- <master>master_output.xml</master> -->
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <!-- <master>master_output.xml</master> -->
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <!-- <master>master_output.xml</master> -->
-
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
-
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
-
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- </properties>
- </profile>
- <profile>
- <id>diffmk</id>
- <properties>
- <!-- <master>master_output.xml</master> -->
- <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
-
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-docbook-xslt</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.jboss</groupId>
- <artifactId>jbossent-jdocbook-style</artifactId>
- <version>1.0.0</version>
- <type>jdocbook-style</type>
- </dependency>
- <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>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
-
- <configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
+<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.jboss.tools</groupId>
+ <artifactId>ws-ref-guide-en-US</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>WS_Reference_Guide</name>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseTest</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ <profile>
+ <id>releaseJBDS</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
+
<cssdir>${pom.basedir}/target/docbook/staging/css/com/css</cssdir>
+ </properties>
+ </profile>
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.2.1</version>
+ <extensions>true</extensions>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-jdocbook-style</artifactId>
+ <type>jdocbook-style</type>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+
+
+ </dependencies>
+
+ <configuration>
+ <sourceDocumentName>${master}</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}</sourceDirectory>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
@@ -103,68 +84,96 @@
</includes>
</imageResource>
<cssResource>
- <directory>${pom.basedir}/${cssdir}</directory>
- </cssResource>
-
- <formats>
- <format>
- <formatName>pdf</formatName>
-
<stylesheetResource>${xsl-pdf}</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
-
<stylesheetResource>${xsl-chunked}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
-
<stylesheetResource>${xsl-single}</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
-
<stylesheetResource>classpath:/xslt/org/jboss/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.72.0</docbookVersion>
- </options>
-
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-
- <distributionManagement>
- <repository>
- <!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
- <!-- It is anticipated that ${maven.repository.root} be set in user's
settings.xml -->
- <!-- todo : replace this with direct svn access once the svnkit providers
are available -->
- <id>repository.jboss.org</id>
- <url>file://${maven.repository.root}</url>
- </repository>
- <snapshotRepository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <
url>dav:https://snapshots.jboss.org/maven2</url>
- </snapshotRepository>
- </distributionManagement>
-
- <properties>
-
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
-
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
- <master>JBoss_Web_Services_User_Guide</master>
- <translation>en-US</translation>
- </properties>
-
-</project>
+ <directory>${cssdir}</directory>
+ </cssResource>
+
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+
<stylesheetResource>${xsl-pdf}</stylesheetResource>
+ <finalName>${project.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+
<stylesheetResource>${xsl-chunked}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+
<stylesheetResource>${xsl-single}</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+
<stylesheetResource>classpath:/xslt/org/jboss/tools/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.72.0</docbookVersion>
+ </options>
+
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <id>clean</id>
+ <phase>package</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+
<directory>${pom.basedir}/target/docbook/publish/en-US/</directory>
+ <includes>
+ <include>html/org/</include>
+ <include>html/org/</include>
+ <include>html_single/org/</include>
+ <include>html_single/org/</include>
+ <include>eclipse/org/</include>
+ <include>eclipse/org/</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's
settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers
are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <
url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
+
+ <properties>
+
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <stylesdir>classpath:/xslt</stylesdir>
+ <cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
+ <master>master.xml</master>
+ </properties>
+</project>