use the new plugin:available tag which is compatible with maven 1.0
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@289234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0c0fe08ca3
commit
90d6590089
@ -2,7 +2,7 @@
|
||||
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
@ -30,9 +30,9 @@
|
||||
xmlns:faq="faq">
|
||||
|
||||
<j:if test="${bootstrapping == null}">
|
||||
<echo>Checking if at least maven-xdoc-plugin 1.9.2 is installed</echo>
|
||||
<plugin:available groupId="maven" artifactId="maven-xdoc-plugin" minRelease="1.9.2"/>
|
||||
<echo>Ok.</echo>
|
||||
<!-- fake test because the plugin:available tag is avalaible in the maven-plugin-plugin 1.7 and newer. Thus maven will break if it's not present. -->
|
||||
<plugin:available groupId="maven" artifactId="maven-plugin-plugin" minRelease="1.7" neededBy="maven-faq-plugin"/>
|
||||
<plugin:available groupId="maven" artifactId="maven-xdoc-plugin" minRelease="1.9.2" neededBy="maven-faq-plugin"/>
|
||||
</j:if>
|
||||
|
||||
<define:taglib uri="faq">
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
<author email="dion@apache.org">dIon Gillard</author>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.6-SNAPSHOT" date="In SVN" description="FAQ plugin compatible with maven 1.1 only">
|
||||
<release version="1.6-SNAPSHOT" date="In SVN">
|
||||
</release>
|
||||
<release version="1.5" date="2005-09-05">
|
||||
<action dev="aheritier" type="add" issue="MPFAQ-19" due-to="Lukas Theussl">Optional toplinks and layout fix.</action>
|
||||
|
||||
@ -67,8 +67,7 @@
|
||||
</source>
|
||||
</section>
|
||||
<section name="Requirements">
|
||||
<p>Maven 1.1 is required.</p>
|
||||
<p>Also be careful, the following plugins must be installed to use the FAQ plugin :</p>
|
||||
<p>Be careful, the following plugins must be installed to use the FAQ plugin :</p>
|
||||
<ul>
|
||||
<li>maven-plugin-plugin 1.7 (at least)</li>
|
||||
<li>maven-xdoc-plugin 1.9.2 (at least)</li>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user