use plugin:available instead of the old jelly script (bugged)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@289263 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8dee78ca7a
commit
077f1fcf7b
12
dist/plugin.jelly
vendored
12
dist/plugin.jelly
vendored
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
@ -23,15 +23,11 @@
|
||||
xmlns:ant="jelly:ant"
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:artifact="artifact"
|
||||
xmlns:plugin="plugin"
|
||||
xmlns:util="jelly:util">
|
||||
|
||||
<!-- Poor mans version check - plugin dependencies still suck for multiple versions -->
|
||||
<maven:get plugin="maven-artifact-plugin" property="plugin" var="artifactPlugin" />
|
||||
<j:if test="${artifactPlugin.currentVersion.compareTo('1.3') lt 0}">
|
||||
<ant:fail>
|
||||
Must have artifact plugin v1.3 installed to use this version of the dist plugin.
|
||||
Try: maven plugin:download -DgroupId=maven -DartifactId=maven-artifact-plugin -Dversion=1.3
|
||||
</ant:fail>
|
||||
<j:if test="${bootstrapping == null}">
|
||||
<plugin:available groupId="maven" artifactId="maven-artifact-plugin" minRelease="1.3" neededBy="maven-dist-plugin"/>
|
||||
</j:if>
|
||||
|
||||
<j:new var="distTypeHandler" className="org.apache.maven.dist.DistributionArtifactTypeHandler" />
|
||||
|
||||
2
dist/project.xml
vendored
2
dist/project.xml
vendored
@ -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.
|
||||
|
||||
8
dist/xdocs/changes.xml
vendored
8
dist/xdocs/changes.xml
vendored
@ -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.
|
||||
@ -21,10 +21,12 @@
|
||||
<document>
|
||||
<properties>
|
||||
<title>Changes</title>
|
||||
<author email="vmassol@octo.com">Vincent Massol</author>
|
||||
<author email="vmassol@pivolis.com">Vincent Massol</author>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.7-SNAPSHOT" date="in CVS">
|
||||
<release version="1.7-SNAPSHOT" date="in SVN">
|
||||
<action dev="aheritier" type="update">It requires at least maven-plugin-plugin v1.7.</action>
|
||||
<action dev="aheritier" type="update">It requires at least maven-artifact-plugin v1.3.</action>
|
||||
<action dev="akarasulu" date="2005-02-07" type="add">Added multiproject analogs mirroring single project goals. Also added the abiltiy to generate combined javadocs for multiproject distribution. However multiproject consolidation might be best put into the site plugin. These fixes are associated with the following <a href="http://jira.codehaus.org/browse/MPDIST-20">JIRA enhancement issue</a>.</action>
|
||||
<action dev="vmassol" type="delete">Removed unused properties: <code>maven.dist.tar.executable</code> and <code>maven.dist.gunzip.executable</code>.</action>
|
||||
<action dev="brett" type="update">Make compatible with Maven 1.1</action>
|
||||
|
||||
9
dist/xdocs/index.xml
vendored
9
dist/xdocs/index.xml
vendored
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
@ -31,5 +31,12 @@
|
||||
for releases and snapshots.
|
||||
</p>
|
||||
</section>
|
||||
<section name="Requirements">
|
||||
<p>Be careful, the following plugins must be installed to use the distribution plugin :</p>
|
||||
<ul>
|
||||
<li>maven-plugin-plugin 1.7 (at least)</li>
|
||||
<li>maven-artifact-plugin 1.3 (at least)</li>
|
||||
</ul>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
@ -23,13 +23,15 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.6-SNAPSHOT" date="In SVN">
|
||||
<action dev="aheritier" type="update">It requires at least maven-plugin-plugin v1.7.</action>
|
||||
</release>
|
||||
<release version="1.5" date="2005-09-05">
|
||||
<action dev="aheritier" type="update">It requires at least maven-xdoc-plugin v1.9.2.</action>
|
||||
<action dev="aheritier" type="add" issue="MPFAQ-19" due-to="Lukas Theussl">Optional toplinks and layout fix.</action>
|
||||
<action dev="aheritier" type="fix" issue="MPFAQ-16" due-to="Lukas Theussl">FAQ plugin does not produce valid XHTML 1.0 Transitional.</action>
|
||||
<action dev="aheritier" type="add" issue="MPFAQ-15" due-to="Lukas Theussl">Adding a "top" link beside each answer.</action>
|
||||
<action dev="dion" type="update" issue="MPFAQ-14" due-to="florent ramiere">Document .fml extension requirement</action>
|
||||
<action dev="aheritier" type="fix" 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="aheritier" type="fix" issue="MPFAQ-11" due-to="Lukas Theussl">Questions' font is same size or smaller than answers' one.</action>
|
||||
<action dev="aheritier" type="fix">The question is like a link because the anchor shouldn't enclose the question.</action>
|
||||
</release>
|
||||
<release version="1.4" date="2004-06-25">
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
@ -24,18 +24,12 @@
|
||||
xmlns:license="license"
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:artifact="artifact"
|
||||
xmlns:plugin="plugin"
|
||||
xmlns:util="jelly:util"
|
||||
xmlns:doc="doc">
|
||||
|
||||
<j:if test="${bootstrapping == null}">
|
||||
<!-- Poor mans version check - plugin dependencies still suck for multiple versions -->
|
||||
<maven:get plugin="maven-artifact-plugin" property="plugin" var="artifactPlugin" />
|
||||
<j:if test="${artifactPlugin.currentVersion.compareTo('1.3') lt 0}">
|
||||
<ant:fail>
|
||||
Must have artifact plugin v1.3 installed to use this version of the jar plugin.
|
||||
Try: maven plugin:download -DgroupId=maven -DartifactId=maven-artifact-plugin -Dversion=1.3
|
||||
</ant:fail>
|
||||
</j:if>
|
||||
<plugin:available groupId="maven" artifactId="maven-artifact-plugin" minRelease="1.3" neededBy="maven-jar-plugin"/>
|
||||
</j:if>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
|
||||
@ -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.
|
||||
@ -22,7 +22,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-jar-plugin</id>
|
||||
<name>Maven Jar Plug-in</name>
|
||||
<currentVersion>1.7</currentVersion>
|
||||
<currentVersion>1.8-SNAPSHOT</currentVersion>
|
||||
<description>Plugin for creating JAR files.</description>
|
||||
<shortDescription>Create jar files</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/jar/</url>
|
||||
|
||||
@ -24,6 +24,9 @@
|
||||
<author email="dion@apache.org">dIon Gillard</author>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.8-SNAPSHOT" date="In SVN">
|
||||
<action dev="aheritier" type="update">It requires at least maven-plugin-plugin v1.7.</action>
|
||||
</release>
|
||||
<release version="1.7" date="2005-06-05">
|
||||
<action dev="felipeal" type="fix" issue="MPJAR-42" due-to="Joseph Benavidez">Fix typo on documentation.</action>
|
||||
<action dev="felipeal" type="fix" issue="MPJAR-40" due-to="Shinobu Kawai">Fix typo on documentation.</action>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
@ -40,5 +40,12 @@
|
||||
document.
|
||||
</p>
|
||||
</section>
|
||||
<section name="Requirements">
|
||||
<p>Be careful, the following plugins must be installed to use the jar plugin :</p>
|
||||
<ul>
|
||||
<li>maven-plugin-plugin 1.7 (at least)</li>
|
||||
<li>maven-artifact-plugin 1.3 (at least)</li>
|
||||
</ul>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
@ -23,19 +23,11 @@
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:doc="doc"
|
||||
xmlns:scm="scm"
|
||||
xmlns:plugin="plugin"
|
||||
xmlns:ant="jelly:ant">
|
||||
|
||||
<j:if test="${bootstrapping == null}">
|
||||
<!-- Poor mans version check - plugin dependencies still suck for multiple versions -->
|
||||
<maven:get plugin="maven-scm-plugin" property="plugin" var="scmPlugin" />
|
||||
<j:if test="${empty(scmPlugin) or scmPlugin.currentVersion.compareTo('1.5') lt 0}">
|
||||
<ant:fail>
|
||||
Must have SCM plugin v1.5 installed to use this version of the jdiff plugin.
|
||||
Try: maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.5
|
||||
You can find the latest version of the SCM plugin on the Maven Download page at
|
||||
http://maven.apache.org/start/download.html
|
||||
</ant:fail>
|
||||
</j:if>
|
||||
<plugin:available groupId="maven" artifactId="maven-scm-plugin" minRelease="1.5" neededBy="maven-jdiff-plugin"/>
|
||||
</j:if>
|
||||
|
||||
<goal name="maven-jdiff-plugin:register">
|
||||
|
||||
@ -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.
|
||||
@ -22,7 +22,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-jdiff-plugin</id>
|
||||
<name>Maven JDiff Plugin</name>
|
||||
<currentVersion>1.5</currentVersion>
|
||||
<currentVersion>1.6-SNAPSHOT</currentVersion>
|
||||
<description>Plugin for JDiff - reports on the differences in the public API of two releases by comparing the sources of two SCM checkouts.</description>
|
||||
<url>http://maven.apache.org/reference/plugins/jdiff/</url>
|
||||
<issueTrackingUrl>http://jira.codehaus.org/browse/MPJDIFF</issueTrackingUrl>
|
||||
|
||||
@ -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.
|
||||
@ -24,6 +24,9 @@
|
||||
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.6-SNAPSHOT" date="In SVN">
|
||||
<action dev="aheritier" type="update">It requires at least maven-plugin-plugin v1.7.</action>
|
||||
</release>
|
||||
<release version="1.5" date="2005-09-06">
|
||||
<action dev="brett" type="fix" issue="MPJDIFF-2">Add the classpath to the Javadoc tag to properly resolve classes</action>
|
||||
<action dev="brett" type="update" issue="MPJDIFF-4">Store difference XML files in the
|
||||
|
||||
@ -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.
|
||||
@ -50,5 +50,12 @@
|
||||
</table>
|
||||
</subsection>
|
||||
</section>
|
||||
<section name="Requirements">
|
||||
<p>Be careful, the following plugins must be installed to use the jdiff plugin :</p>
|
||||
<ul>
|
||||
<li>maven-plugin-plugin 1.7 (at least)</li>
|
||||
<li>maven-scm-plugin 1.5 (at least)</li>
|
||||
</ul>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/*
|
||||
* 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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user