You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/01/26 12:50:18 UTC
svn commit: r1063685 - in /incubator/opennlp/trunk/opennlp-docs: pom.xml
src/main/ src/main/resources/ src/main/resources/xsl/
src/main/resources/xsl/html.xsl
Author: joern
Date: Wed Jan 26 11:50:18 2011
New Revision: 1063685
URL: http://svn.apache.org/viewvc?rev=1063685&view=rev
Log:
OPENNLP-96 Updated docbkx plugin to 2.0.11
Added:
incubator/opennlp/trunk/opennlp-docs/src/main/
incubator/opennlp/trunk/opennlp-docs/src/main/resources/
incubator/opennlp/trunk/opennlp-docs/src/main/resources/xsl/
incubator/opennlp/trunk/opennlp-docs/src/main/resources/xsl/html.xsl (with props)
Modified:
incubator/opennlp/trunk/opennlp-docs/pom.xml
Modified: incubator/opennlp/trunk/opennlp-docs/pom.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/pom.xml?rev=1063685&r1=1063684&r2=1063685&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-docs/pom.xml (original)
+++ incubator/opennlp/trunk/opennlp-docs/pom.xml Wed Jan 26 11:50:18 2011
@@ -38,7 +38,7 @@
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
- <version>2.0.9</version>
+ <version>2.0.11</version>
<executions>
<execution>
<goals>
@@ -48,18 +48,20 @@
</execution>
</executions>
<dependencies>
- <dependency>
- <groupId>org.docbook</groupId>
- <artifactId>docbook-xml</artifactId>
- <version>4.4</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
+ <dependency>
+ <groupId>org.docbook</groupId>
+ <artifactId>docbook-xml</artifactId>
+ <version>5.0</version>
+ <type>pom</type>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
<configuration>
<xincludeSupported>true</xincludeSupported>
<includes>opennlp.xml</includes>
<htmlStylesheet>css/opennlp-docs.css</htmlStylesheet>
<highlightSource>1</highlightSource>
+ <htmlCustomization>src/main/resources/xsl/html.xsl</htmlCustomization>
<postProcess>
<copy todir="${project.build.directory}/docbkx/html">
<fileset dir="${project.basedir}/src/docbkx">
Added: incubator/opennlp/trunk/opennlp-docs/src/main/resources/xsl/html.xsl
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/main/resources/xsl/html.xsl?rev=1063685&view=auto
==============================================================================
--- incubator/opennlp/trunk/opennlp-docs/src/main/resources/xsl/html.xsl (added)
+++ incubator/opennlp/trunk/opennlp-docs/src/main/resources/xsl/html.xsl Wed Jan 26 11:50:18 2011
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <!-- imports the original docbook stylesheet -->
+ <xsl:import href="urn:docbkx:stylesheet"/>
+
+ <!-- set bellow all your custom xsl configuration -->
+ <xsl:import href="urn:docbkx:stylesheet/highlight.xsl"/>
+
+</xsl:stylesheet>
\ No newline at end of file
Propchange: incubator/opennlp/trunk/opennlp-docs/src/main/resources/xsl/html.xsl
------------------------------------------------------------------------------
svn:mime-type = text/plain