MPFAQ-11 : Questions' font is same size or smaller than answers' one. Xdoc plugin > 1.9.2 required.

Patch submitted by : Lukas Theussl
Patch reviewed by : Arnaud Heritier

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@267498 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier
2005-09-03 21:25:38 +00:00
parent a5fcf88daa
commit 376ee46708
4 changed files with 27 additions and 4 deletions

View File

@@ -20,6 +20,7 @@
<project
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:util="jelly:util"
xmlns:x="jelly:xml"
xmlns:ant="jelly:ant"
@@ -27,6 +28,19 @@
xmlns:doc="doc"
xmlns:faq="faq">
<j:if test="${bootstrapping == null}">
<!-- Poor mans version check - plugin dependencies still suck for multiple versions -->
<maven:get plugin="maven-xdoc-plugin" property="plugin" var="xdocPlugin" />
<j:if test="${empty(xdocPlugin) or xdocPlugin.currentVersion.compareTo('1.9.2') lt 0}">
<ant:fail>
Must have XDOC plugin v1.9.2 installed to use this version of the faq plugin.
Try: maven plugin:download -DgroupId=maven -DartifactId=maven-xdoc-plugin -Dversion=1.9.2
You can find the latest version of the XDOC plugin on the Maven Download page at
http://maven.apache.org/start/download.html
</ant:fail>
</j:if>
</j:if>
<define:taglib uri="faq">
<!--

View File

@@ -80,6 +80,16 @@
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Arnaud Heritier</name>
<id>aheritier</id>
<email>aheritier@apache.org</email>
<organization>Octo Technology</organization>
<roles>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<dependencies>
<dependency>

View File

@@ -72,7 +72,7 @@
</jsl:template>
<jsl:template match="question">
<dt>
<dt class="question">
<j:set var="_id"><x:expr select="../@id"/></j:set>
<j:set var="_id"><doc:escapeNameToken value="${_id}"/></j:set>
<a name="${_id}">

View File

@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,7 +16,6 @@
* limitations under the License.
*/
-->
<document>
<properties>
<title>Changes</title>
@@ -25,6 +23,7 @@
</properties>
<body>
<release version="1.4.1-SNAPSHOT" date="in CVS">
<action dev="aheritier" type="update" issue="MPFAQ-11" due-to="Lukas Theussl">Questions' font is same size or smaller than answers' one. Xdoc plugin > 1.9.2 required.</action>
<action dev="dion" type="update" issue="MPFAQ-14" due-to="florent ramiere">Document .fml extension requirement</action>
</release>
<release version="1.4" date="2004-06-25">