Fix MPJAVADOC-26. The needed flag was incorrect when there was an empty sources directory.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115445 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier
2004-06-09 21:54:38 +00:00
parent 1f48da1411
commit 9e089c515c
3 changed files with 3 additions and 6 deletions

View File

@@ -98,7 +98,7 @@
<!-- For each directory -->
<j:forEach var="dir" items="${sources.dirs}">
<!-- If we have not already find sources -->
<j:if test="${needed == null}">
<j:if test="${needed != true}">
<!-- We construct the fileset -->
<ant:fileset id="${src.set.counter}" dir="${dir}">
<patternset refid="source.modifications"/>
@@ -210,7 +210,7 @@
<patternset refid="source.modifications"/>
</ant:fileset>
</j:forEach>--> <!-- dir in maven.compile.src.set -->
</j:forEach> <!-- dir in maven.compile.src.set -->
<j:if test="${context.getVariable('maven.javadoc.source') != null}">
<ant:setProperty name="source" value="${maven.javadoc.source}" />

View File

@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
@@ -17,7 +16,6 @@
* limitations under the License.
*/
-->
<project>
<extend>../plugin-parent/project.xml</extend>
<pomVersion>3</pomVersion>

View File

@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
@@ -17,7 +16,6 @@
* limitations under the License.
*/
-->
<document>
<properties>
<title>Changes</title>
@@ -26,6 +24,7 @@
</properties>
<body>
<release version="1.5.1-SNAPSHOT" date="In CVS">
<action dev="aheritier" type="fix" issue="MPJAVADOC-26" due-to="Denis McLaughlin">Fix the needed flag when there's an empty sources directory.</action>
<action dev="aheritier" type="fix" issue="MPJAVADOC-24">doc-files directories contents are correctly copied.</action>
<action dev="brett" type="fix" issue="MPJAVADOC-5">Add support for multiple source directories.</action>
</release>