Revert Maven-791
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113980 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -8,21 +8,7 @@
|
||||
xmlns:u="jelly:util"
|
||||
xmlns:x="jelly:xml">
|
||||
|
||||
<goal name="plugin:check" description="Check if project is a plugin">
|
||||
<u:file var="projectFile"
|
||||
name="${basedir}/project.xml" />
|
||||
<u:file var="jellyFile"
|
||||
name="${basedir}/plugin.jelly" />
|
||||
<j:if test="${!projectFile.exists()}">
|
||||
<j:set var="notPlugin" value="true"/>
|
||||
</j:if>
|
||||
<j:if test="${!pluginFile.exists()}">
|
||||
<j:set var="notPlugin" value="true"/>
|
||||
</j:if>
|
||||
<ant:fail if="notPlugin">This project is a non-plugin project.</ant:fail>
|
||||
</goal>
|
||||
|
||||
<goal name="plugin" prereqs="plugin:check"
|
||||
<goal name="plugin"
|
||||
description="Build a plugin jar and install to the maven.repo.local">
|
||||
|
||||
<!-- Plugins are just a jar. -->
|
||||
@@ -84,7 +70,7 @@
|
||||
|
||||
<!-- generate a skeletal navigation.xml for the plugin specified
|
||||
by the 'plugin' variable -->
|
||||
<goal name="plugin:generate-navigation" prereqs="plugin:check"
|
||||
<goal name="plugin:generate-navigation"
|
||||
description="Generate navigation.xml for the plugin">
|
||||
|
||||
<j:set var="skip" value="false" />
|
||||
@@ -104,7 +90,7 @@
|
||||
</goal>
|
||||
|
||||
<!-- generate a skeletal goals.xml for the plugin specified -->
|
||||
<goal name="plugin:generate-goals" prereqs="plugin:check"
|
||||
<goal name="plugin:generate-goals"
|
||||
description="Generate goals.xml for the plugin">
|
||||
|
||||
<j:set var="skip" value="false" />
|
||||
@@ -144,7 +130,7 @@
|
||||
</goal>
|
||||
|
||||
<!-- generate properties documentation -->
|
||||
<goal name="plugin:generate-properties" prereqs="plugin:check"
|
||||
<goal name="plugin:generate-properties"
|
||||
description="Generate properties.xml for the plugin">
|
||||
|
||||
|
||||
|
||||
@@ -7,9 +7,6 @@
|
||||
|
||||
<body>
|
||||
<release version="1.1" date="in CVS">
|
||||
<action dev="evenisse" type="fix">
|
||||
Fixed MAVEN-791. Check if project is a plugin.
|
||||
</action>
|
||||
<action dev="evenisse" type="fix">
|
||||
Fixed MAVEN-708. Fix the goals description generation if there is no plugin.jelly file.
|
||||
</action>
|
||||
|
||||
Reference in New Issue
Block a user