Updated maven-jdocbook-plugin
This commit is contained in:
parent
f4cdf3c3f8
commit
01dffb1ad8
45
pom.xml
45
pom.xml
|
@ -96,7 +96,7 @@
|
|||
<dependency>
|
||||
<groupId>org.jboss.microcontainer</groupId>
|
||||
<artifactId>jboss-kernel</artifactId>
|
||||
<version>2.0.2.GA</version>
|
||||
<version>2.0.8.GA</version>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
@ -143,7 +143,7 @@
|
|||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>1.5.6</version>
|
||||
<version>1.5.8</version>
|
||||
<scope>compile</scope>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
@ -191,7 +191,7 @@
|
|||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.5</version>
|
||||
<version>4.6</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -209,7 +209,7 @@
|
|||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<version>1.5.6</version>
|
||||
<version>1.5.8</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@ -264,13 +264,11 @@
|
|||
</Bundle-Activator>
|
||||
<Export-Package>
|
||||
!${project.groupId}.example.*,
|
||||
!${project.groupId}.logging.*,
|
||||
!${project.groupId}.util.internal.*,
|
||||
${project.groupId}.*;version=${project.version}
|
||||
</Export-Package>
|
||||
<Private-Package>
|
||||
${project.groupId}.example.*,
|
||||
${project.groupId}.logging.*,
|
||||
${project.groupId}.util.internal.*,
|
||||
</Private-Package>
|
||||
<Import-Package>
|
||||
|
@ -378,7 +376,7 @@
|
|||
<dependency>
|
||||
<groupId>ant-contrib</groupId>
|
||||
<artifactId>ant-contrib</artifactId>
|
||||
<version>1.0b2</version>
|
||||
<version>1.0b3</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>ant</groupId>
|
||||
|
@ -473,7 +471,7 @@
|
|||
<plugin>
|
||||
<groupId>org.jboss.maven.plugins</groupId>
|
||||
<artifactId>maven-jdocbook-plugin</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<version>2.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-docbook</id>
|
||||
|
@ -489,12 +487,38 @@
|
|||
<groupId>org.jboss</groupId>
|
||||
<artifactId>jbossorg-docbook-xslt</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.wst.css</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.wst.sse</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jboss</groupId>
|
||||
<artifactId>jbossorg-jdocbook-style</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<type>jdocbook-style</type>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.wst.css</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.wst.sse</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jboss</groupId>
|
||||
<artifactId>jbossorg-fonts</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<type>jdocbook-style</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
|
@ -538,12 +562,13 @@
|
|||
<xincludeSupported>true</xincludeSupported>
|
||||
<xmlTransformerType>saxon</xmlTransformerType>
|
||||
<docbookVersion>1.72.0</docbookVersion>
|
||||
<localeSeparator>-</localeSeparator>
|
||||
</options>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.2-beta-3</version>
|
||||
<version>2.2-beta-4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-distribution</id>
|
||||
|
@ -577,7 +602,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<version>2.7</version>
|
||||
<configuration>
|
||||
<downloadSources>true</downloadSources>
|
||||
<addVersionToProjectName>true</addVersionToProjectName>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<subtitle>The Proven Approach to Rapid Network Application Development</subtitle>
|
||||
<releaseinfo>
|
||||
<!-- The version.txt file is generated by maven-antrun-plugin. -->
|
||||
<xi:include href="../../target/version.txt" parse="text"
|
||||
<xi:include href="../../../target/version.txt" parse="text"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
</releaseinfo>
|
||||
</bookinfo>
|
|
@ -3,15 +3,58 @@
|
|||
xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
||||
version="1.0">
|
||||
|
||||
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.72.0/fo/docbook.xsl" />
|
||||
<xsl:import href="classpath:/xslt/org/jboss/pdf.xsl" />
|
||||
<xsl:import href="classpath:/xslt/org/jboss/xslt/fonts/pdf/fonts.xsl" />
|
||||
|
||||
<xsl:param name="title.font.family">
|
||||
<xsl:variable name="font">
|
||||
<xsl:call-template name="pickfont-sans"/>
|
||||
</xsl:variable>
|
||||
<xsl:message>
|
||||
<xsl:text>Setting 'title.font.family' param=</xsl:text><xsl:copy-of select="$font"/>
|
||||
</xsl:message>
|
||||
<xsl:copy-of select="$font"/>
|
||||
</xsl:param>
|
||||
|
||||
<xsl:param name="body.font.family">
|
||||
<xsl:variable name="font">
|
||||
<xsl:call-template name="pickfont-sans"/>
|
||||
</xsl:variable>
|
||||
<xsl:message>
|
||||
<xsl:text>Setting 'body.font.family' param=</xsl:text><xsl:copy-of select="$font"/>
|
||||
</xsl:message>
|
||||
<xsl:copy-of select="$font"/>
|
||||
</xsl:param>
|
||||
|
||||
<xsl:param name="monospace.font.family">
|
||||
<xsl:variable name="font">
|
||||
<xsl:call-template name="pickfont-mono"/>
|
||||
</xsl:variable>
|
||||
<xsl:message>
|
||||
<xsl:text>Setting 'monospace.font.family' param=</xsl:text><xsl:copy-of select="$font"/>
|
||||
|
||||
</xsl:message>
|
||||
<xsl:copy-of select="$font"/>
|
||||
</xsl:param>
|
||||
|
||||
<xsl:param name="sans.font.family">
|
||||
<xsl:variable name="font">
|
||||
<xsl:call-template name="pickfont-sans"/>
|
||||
</xsl:variable>
|
||||
<xsl:message>
|
||||
<xsl:text>Setting 'sans.font.family' param=</xsl:text><xsl:copy-of select="$font"/>
|
||||
</xsl:message>
|
||||
<xsl:copy-of select="$font"/>
|
||||
</xsl:param>
|
||||
|
||||
<!-- Override the default font settings -->
|
||||
<xsl:param name="body.font.family" select="'Times New Roman, serif'" />
|
||||
<xsl:param name="monospace.font.family" select="'DejaVu Sans Mono, monospace'" />
|
||||
<xsl:param name="sans.font.family" select="'Arial, sans-serif'" />
|
||||
<!--
|
||||
<xsl:param name="body.font.family" select=""Times New Roman, serif"" />
|
||||
<xsl:param name="monospace.font.family" select=""DejaVu Sans Mono, monospace"" />
|
||||
<xsl:param name="sans.font.family" select=""Arial, sans-serif"" />
|
||||
<xsl:param name="title.font.family" select="$body.font.family" />
|
||||
<xsl:param name="programlisting.font" select="$monospace.font.family" />
|
||||
-->
|
||||
<xsl:param name="programlisting.font.size" select="'75%'" />
|
||||
|
||||
<!-- Remove the blank pages between the chapters -->
|
||||
|
@ -32,9 +75,11 @@
|
|||
<!-- Decrease the link font size in the program listing -->
|
||||
<xsl:attribute-set name="monospace.properties">
|
||||
<xsl:attribute name="font-size">1em</xsl:attribute>
|
||||
<!--
|
||||
<xsl:attribute name="font-family">
|
||||
<xsl:value-of select="$monospace.font.family"/>
|
||||
</xsl:attribute>
|
||||
-->
|
||||
</xsl:attribute-set>
|
||||
|
||||
<!-- Add some spacing between callout listing items -->
|
||||
|
|
Loading…
Reference in New Issue
Block a user