Undo the earlier changes for MAVEN-493. The license plugin has proper content
when no license exists. PR: MAVEN-493 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
878c9c3c0b
commit
7b78fe05e9
@ -46,18 +46,11 @@
|
||||
<!-- L I C E N S E -->
|
||||
<!-- ================================================================== -->
|
||||
<goal name="maven-license-plugin:register">
|
||||
<j:set var="licenseFile"><license:fileName /></j:set>
|
||||
<util:available file="${licenseFile}">
|
||||
<j:set var="licensePresent" value="true"/>
|
||||
</util:available>
|
||||
|
||||
<j:if test="${licensePresent == 'true'}">
|
||||
<doc:registerReport
|
||||
<doc:registerReport
|
||||
name="Project License"
|
||||
pluginName="maven-license-plugin"
|
||||
link="license"
|
||||
description="Displays the primary license for the project."/>
|
||||
</j:if>
|
||||
</goal>
|
||||
|
||||
<goal name="maven-license-plugin:deregister">
|
||||
@ -105,9 +98,8 @@
|
||||
<doc:text-xdoc
|
||||
title="Project License"
|
||||
section="Project License"
|
||||
output="${genDocs}/license.xml"
|
||||
inputFile="${licenseFile}"/>
|
||||
|
||||
output="${genDocs}/license.xml"
|
||||
inputFile="${licenseFile}"/>
|
||||
|
||||
</goal>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user