You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/09/19 22:44:39 UTC

svn commit: r447959 - in /maven/maven-1/plugins/trunk/dist: plugin.jelly xdocs/changes.xml

Author: ltheussl
Date: Tue Sep 19 13:44:38 2006
New Revision: 447959

URL: http://svn.apache.org/viewvc?view=rev&rev=447959
Log:
dist:multiproject-bin fails if one of the projects does not have any java sources.

Modified:
    maven/maven-1/plugins/trunk/dist/plugin.jelly
    maven/maven-1/plugins/trunk/dist/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/dist/plugin.jelly
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/dist/plugin.jelly?view=diff&rev=447959&r1=447958&r2=447959
==============================================================================
--- maven/maven-1/plugins/trunk/dist/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/dist/plugin.jelly Tue Sep 19 13:44:38 2006
@@ -533,7 +533,10 @@
 
     <javadoc destdir="${maven.dist.bin.assembly.dir}/docs/apidocs">
       <j:forEach var="project" items="${reactorProjects}">
-        <packageset dir="${project.build.sourceDirectory}"/>
+        <util:file var="_javasources" name="${project.build.sourceDirectory}"/>
+        <j:if test="${_javasources.exists()}">
+          <packageset dir="${project.build.sourceDirectory}"/>
+        </j:if>
       </j:forEach>
       <classpath>
         <fileset dir="${basedir}">

Modified: maven/maven-1/plugins/trunk/dist/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/dist/xdocs/changes.xml?view=diff&rev=447959&r1=447958&r2=447959
==============================================================================
--- maven/maven-1/plugins/trunk/dist/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/dist/xdocs/changes.xml Tue Sep 19 13:44:38 2006
@@ -24,6 +24,7 @@
   </properties>
   <body>
     <release version="1.7.1-SNAPSHOT" date="In SVN">
+      <action dev="ltheussl" type="fix"><code>dist:multiproject-bin</code> fails if one of the projects does not have any java sources.</action>
       <action dev="ltheussl" type="fix" issue="MPDIST-29">Source distribution archive has incorrect directory structure.</action>
     </release>
     <release version="1.7" date="2006-06-18">