[seam-commits] Seam SVN: r8520 - in maven-plugins/tags: seam-docbook-xslt_1_1_0_GA and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Jul 28 10:38:22 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-07-28 10:38:22 -0400 (Mon, 28 Jul 2008)
New Revision: 8520

Added:
   maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/
   maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/pom.xml
   maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/fop1.xsl
   maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/pdf.xsl
Removed:
   maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/pom.xml
   maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/pdf.xsl
Log:
[maven-release-plugin]  copy for tag seam-docbook-xslt_1_1_0_GA

Copied: maven-plugins/tags/seam-docbook-xslt_1_1_0_GA (from rev 8508, maven-plugins/trunk/seam-docbook-xslt)

Deleted: maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/pom.xml
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/pom.xml	2008-07-28 12:17:11 UTC (rev 8508)
+++ maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/pom.xml	2008-07-28 14:38:22 UTC (rev 8520)
@@ -1,91 +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">
-
-   <modelVersion>4.0.0</modelVersion>
-
-   <groupId>org.jboss.seam</groupId>
-   <artifactId>seam-docbook-xslt</artifactId>
-   <packaging>jar</packaging>
-   <version>1.1.0-SNAPSHOT</version>
-
-   <name>SeamFramework.org DocBook XSLT</name>
-   <description>
-      The main project to transform DocBook XML into XHTML and other formats for
-      SeamFramework.org Documentation.
-   </description>
-   <url>http://www.seamframework.org</url>
-
-   <scm>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/maven-plugins/trunk</developerConnection>
-      <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/maven-plugins/trunk</connection>
-      <url>http://fisheye.jboss.org/browse/Seam/maven-plugins/trunk</url>
-   </scm>
-   
-   <contributors>
-      <contributor>
-         <name>Pete Muir</name>
-      </contributor>
-      <contributor>
-         <name>Mark Newton</name>
-      </contributor>
-   </contributors>
-
-   <repositories>
-      <repository>
-         <id>repository.jboss.org</id>
-         <name>JBoss Repository</name>
-         <url>http://repository.jboss.org/maven2</url>
-      </repository>
-   </repositories>
-
-   <dependencies>
-      <dependency>
-         <groupId>org.jboss</groupId>
-         <artifactId>jbossorg-docbook-xslt</artifactId>
-      </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>
-      <pluginManagement>
-         <plugins>
-            <plugin>
-               <groupId>org.jboss.maven.plugins</groupId>
-               <artifactId>maven-jdocbook-plugin</artifactId>
-               <version>2.1.1</version>
-            </plugin>
-         </plugins>
-      </pluginManagement>
-   </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>
-
-</project>

Copied: maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/pom.xml (from rev 8519, maven-plugins/trunk/seam-docbook-xslt/pom.xml)
===================================================================
--- maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/pom.xml	                        (rev 0)
+++ maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/pom.xml	2008-07-28 14:38:22 UTC (rev 8520)
@@ -0,0 +1,91 @@
+<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.seam</groupId>
+   <artifactId>seam-docbook-xslt</artifactId>
+   <packaging>jar</packaging>
+   <version>1.1.0.GA</version>
+
+   <name>SeamFramework.org DocBook XSLT</name>
+   <description>
+      The main project to transform DocBook XML into XHTML and other formats for
+      SeamFramework.org Documentation.
+   </description>
+   <url>http://www.seamframework.org</url>
+
+   <scm>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/maven-plugins/tags/seam-docbook-xslt_1_1_0_GA</developerConnection>
+      <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/maven-plugins/tags/seam-docbook-xslt_1_1_0_GA</connection>
+      <url>http://fisheye.jboss.org/browse/Seam/maven-plugins/tags/seam-docbook-xslt_1_1_0_GA</url>
+   </scm>
+   
+   <contributors>
+      <contributor>
+         <name>Pete Muir</name>
+      </contributor>
+      <contributor>
+         <name>Mark Newton</name>
+      </contributor>
+   </contributors>
+
+   <repositories>
+      <repository>
+         <id>repository.jboss.org</id>
+         <name>JBoss Repository</name>
+         <url>http://repository.jboss.org/maven2</url>
+      </repository>
+   </repositories>
+
+   <dependencies>
+      <dependency>
+         <groupId>org.jboss</groupId>
+         <artifactId>jbossorg-docbook-xslt</artifactId>
+      </dependency>
+   </dependencies>
+
+   <dependencyManagement>
+      <dependencies>
+         <dependency>
+            <groupId>org.jboss</groupId>
+            <artifactId>jbossorg-docbook-xslt</artifactId>
+            <version>1.1.0</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>
+      <pluginManagement>
+         <plugins>
+            <plugin>
+               <groupId>org.jboss.maven.plugins</groupId>
+               <artifactId>maven-jdocbook-plugin</artifactId>
+               <version>2.1.1</version>
+            </plugin>
+         </plugins>
+      </pluginManagement>
+   </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>
+
+</project>

Copied: maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/fop1.xsl (from rev 8517, maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/fop1.xsl)
===================================================================
--- maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/fop1.xsl	                        (rev 0)
+++ maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/fop1.xsl	2008-07-28 14:38:22 UTC (rev 8520)
@@ -0,0 +1,71 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<xsl:template match="*" mode="fop1.outline">
+  <xsl:apply-templates select="*" mode="fop1.outline"/>
+</xsl:template>
+
+<xsl:template match="set|book|part|reference|
+                     preface|chapter|appendix|article
+                     |glossary|bibliography|index|setindex
+                     |refentry
+                     |sect1|sect2|sect3|sect4|sect5|section"
+              mode="fop1.outline">
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="bookmark-label">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <!-- Put the root element bookmark at the same level as its children -->
+  <!-- If the object is a set or book, generate a bookmark for the toc -->
+
+  <xsl:choose>
+    <xsl:when test="parent::*">
+      <fo:bookmark internal-destination="{$id}" starting-state="hide">
+        <fo:bookmark-title>
+          <xsl:value-of select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/>
+        </fo:bookmark-title>
+        <xsl:apply-templates select="*" mode="fop1.outline"/>
+      </fo:bookmark>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:bookmark internal-destination="{$id}" starting-state="hide">
+        <fo:bookmark-title>
+          <xsl:value-of select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/>
+        </fo:bookmark-title>
+      </fo:bookmark>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="contains($toc.params, 'toc')
+                    and (book|part|reference|preface|chapter|appendix|article
+                         |glossary|bibliography|index|setindex
+                         |refentry
+                         |sect1|sect2|sect3|sect4|sect5|section)">
+        <fo:bookmark internal-destination="toc...{$id}" starting-state="hide">
+          <fo:bookmark-title>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'TableofContents'"/>
+            </xsl:call-template>
+          </fo:bookmark-title>
+        </fo:bookmark>
+      </xsl:if>
+      <xsl:apply-templates select="*" mode="fop1.outline"/>
+    </xsl:otherwise>
+  </xsl:choose>
+<!--
+  <fo:bookmark internal-destination="{$id}"/>
+-->
+</xsl:template>
+
+
+</xsl:stylesheet>

Deleted: maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/pdf.xsl
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/pdf.xsl	2008-07-28 12:17:11 UTC (rev 8508)
+++ maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/pdf.xsl	2008-07-28 14:38:22 UTC (rev 8520)
@@ -1,68 +0,0 @@
-<?xml version='1.0'?>
-
-<!--
-   Copyright 2008 JBoss, a division of Red Hat
-   License: LGPL
-   Author: Pete Muir
-   Author: Mark Newton <mark.newton at jboss.org>
--->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                version="1.0"
-                xmlns="http://www.w3.org/TR/xhtml1/transitional"
-                xmlns:fo="http://www.w3.org/1999/XSL/Format"
-                exclude-result-prefixes="#default">
-
-   <xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
-   <xsl:import href="common.xsl"/>
-      
-   <!-- Change the font color for titles to SeamFramework.org one -->
-   <xsl:param name="title.color">#576C74</xsl:param>
-   <xsl:param name="titlepage.color">#885324</xsl:param>
-   <xsl:param name="chapter.title.color">#BA5624</xsl:param>
-   <xsl:param name="section.title.color">#BA5624</xsl:param>
-
-   <!-- Style tables to look like SeamFramework.org-->
-   <xsl:param name="table.cell.border.color">#D3D2D1</xsl:param>
-   <xsl:param name="table.frame.border.color">#D3D2D1</xsl:param>
-   <xsl:param name="table.cell.border.thickness">0.6pt</xsl:param>
-
-   <xsl:param name="table.frame.border.thickness">0.6pt</xsl:param>
-   <xsl:param name="table.cell.border.right.color">white</xsl:param>
-   <xsl:param name="table.cell.border.left.color">#D3D2D1</xsl:param>
-   <xsl:param name="table.frame.border.right.color">white</xsl:param>
-   <xsl:param name="table.frame.border.left.color">white</xsl:param>
-
-   <xsl:template name="table.cell.block.properties">
-      <!-- highlight this entry? -->
-      <xsl:if test="ancestor::thead or ancestor::tfoot">
-         <xsl:attribute name="font-weight">bold</xsl:attribute>
-         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
-         <xsl:attribute name="color">black</xsl:attribute>
-      </xsl:if>
-   </xsl:template>
-
-   <!--
-      From: fo/table.xsl
-      Reason: Table Header format
-      Version:1.72
-   -->
-   <!-- customize this template to add row properties -->
-   <xsl:template name="table.row.properties">
-      <xsl:variable name="bgcolor">
-         <xsl:call-template name="dbfo-attribute">
-            <xsl:with-param name="pis" select="processing-instruction('dbfo')" />
-            <xsl:with-param name="attribute" select="'bgcolor'" />
-         </xsl:call-template>
-      </xsl:variable>
-      <xsl:if test="$bgcolor != ''">
-         <xsl:attribute name="background-color">
-      <xsl:value-of select="$bgcolor" />
-    </xsl:attribute>
-      </xsl:if>
-      <xsl:if test="ancestor::thead or ancestor::tfoot">
-         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
-      </xsl:if>
-   </xsl:template>
-
-</xsl:stylesheet>

Copied: maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/pdf.xsl (from rev 8517, maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/pdf.xsl)
===================================================================
--- maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/pdf.xsl	                        (rev 0)
+++ maven-plugins/tags/seam-docbook-xslt_1_1_0_GA/src/main/resources/xslt/org/jboss/seam/pdf.xsl	2008-07-28 14:38:22 UTC (rev 8520)
@@ -0,0 +1,69 @@
+<?xml version='1.0'?>
+
+<!--
+   Copyright 2008 JBoss, a division of Red Hat
+   License: LGPL
+   Author: Pete Muir
+   Author: Mark Newton <mark.newton at jboss.org>
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0"
+                xmlns="http://www.w3.org/TR/xhtml1/transitional"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                exclude-result-prefixes="#default">
+
+   <xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
+   <xsl:import href="common.xsl"/>
+   <xsl:import href="fop1.xsl" />
+      
+   <!-- Change the font color for titles to SeamFramework.org one -->
+   <xsl:param name="title.color">#576C74</xsl:param>
+   <xsl:param name="titlepage.color">#885324</xsl:param>
+   <xsl:param name="chapter.title.color">#BA5624</xsl:param>
+   <xsl:param name="section.title.color">#BA5624</xsl:param>
+
+   <!-- Style tables to look like SeamFramework.org-->
+   <xsl:param name="table.cell.border.color">#D3D2D1</xsl:param>
+   <xsl:param name="table.frame.border.color">#D3D2D1</xsl:param>
+   <xsl:param name="table.cell.border.thickness">0.6pt</xsl:param>
+
+   <xsl:param name="table.frame.border.thickness">0.6pt</xsl:param>
+   <xsl:param name="table.cell.border.right.color">white</xsl:param>
+   <xsl:param name="table.cell.border.left.color">#D3D2D1</xsl:param>
+   <xsl:param name="table.frame.border.right.color">white</xsl:param>
+   <xsl:param name="table.frame.border.left.color">white</xsl:param>
+
+   <xsl:template name="table.cell.block.properties">
+      <!-- highlight this entry? -->
+      <xsl:if test="ancestor::thead or ancestor::tfoot">
+         <xsl:attribute name="font-weight">bold</xsl:attribute>
+         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
+         <xsl:attribute name="color">black</xsl:attribute>
+      </xsl:if>
+   </xsl:template>
+
+   <!--
+      From: fo/table.xsl
+      Reason: Table Header format
+      Version:1.72
+   -->
+   <!-- customize this template to add row properties -->
+   <xsl:template name="table.row.properties">
+      <xsl:variable name="bgcolor">
+         <xsl:call-template name="dbfo-attribute">
+            <xsl:with-param name="pis" select="processing-instruction('dbfo')" />
+            <xsl:with-param name="attribute" select="'bgcolor'" />
+         </xsl:call-template>
+      </xsl:variable>
+      <xsl:if test="$bgcolor != ''">
+         <xsl:attribute name="background-color">
+      <xsl:value-of select="$bgcolor" />
+    </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="ancestor::thead or ancestor::tfoot">
+         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
+      </xsl:if>
+   </xsl:template>
+
+</xsl:stylesheet>




More information about the seam-commits mailing list