maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r447951 - in /maven/maven-1/plugins/trunk/artifact: plugin.jelly xdocs/changes.xml
Date Tue, 19 Sep 2006 20:29:44 GMT
Author: ltheussl
Date: Tue Sep 19 13:29:43 2006
New Revision: 447951

URL: http://svn.apache.org/viewvc?view=rev&rev=447951
Log:
PR: MPARTIFACT-72
Creating an upload-bundle for a plugin without any java code does not work.

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

Modified: maven/maven-1/plugins/trunk/artifact/plugin.jelly
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/plugin.jelly?view=diff&rev=447951&r1=447950&r2=447951
==============================================================================
--- maven/maven-1/plugins/trunk/artifact/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/artifact/plugin.jelly Tue Sep 19 13:29:43 2006
@@ -222,7 +222,10 @@
 
     <!-- Add javadocs -->
     <attainGoal name="javadoc:jar"/>
-    <ant:copy file="${maven.build.dir}/${maven.final.name}_javadoc.jar" tofile="${maven.build.dir}/bundle/${maven.final.name}-javadoc.jar"/>
+    <util:file var="_javadocjar" name="${maven.build.dir}/${maven.final.name}_javadoc.jar"/>
+    <j:if test="${_javadocjar.exists()}">
+      <ant:copy file="${maven.build.dir}/${maven.final.name}_javadoc.jar" tofile="${maven.build.dir}/bundle/${maven.final.name}-javadoc.jar"/>
+    </j:if>
 
     <ant:jar 
       jarfile="${maven.build.dir}/${maven.final.name}-bundle.jar"

Modified: maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml?view=diff&rev=447951&r1=447950&r2=447951
==============================================================================
--- maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml Tue Sep 19 13:29:43 2006
@@ -25,6 +25,7 @@
   </properties>
   <body>
     <release version="1.8.1-SNAPSHOT" date="In SVN">
+      <action dev="ltheussl" type="fix" issue="MPARTIFACT-72">Creating an upload-bundle
for a plugin without any java code does not work.</action>
       <action dev="aheritier" type="update">Use a custom build of velocity (1.5-20060721.044818)
to wait for a release of velocity 1.5 which will fix the issue VELOCITY-193 (The horrible
error : "log4j:ERROR Attempted to append to closed appender named [null]").</action>
       <action dev="ltheussl" type="update">Update jelly dependency to match the ones
in maven 1.1 core.</action>
       <action dev="ltheussl" type="update" issue="MPARTIFACT-67">Include javadocs in
created upload bundle.</action>



Mime
View raw message