You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Niall Pemberton (JIRA)" <ji...@codehaus.org> on 2007/02/18 15:28:53 UTC

[jira] Commented: (MSOURCES-12) size of source jar grows and grows

    [ http://jira.codehaus.org/browse/MSOURCES-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87860 ] 

Niall Pemberton commented on MSOURCES-12:
-----------------------------------------

This looks like a duplicate of MSOURCES-6 which is resolved in the version 2.0.3 that was being voted on recently.

> size of source jar grows and grows
> ----------------------------------
>
>                 Key: MSOURCES-12
>                 URL: http://jira.codehaus.org/browse/MSOURCES-12
>             Project: Maven 2.x Sources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: Matthias Weßendorf
>
> I am seeing this, when using the 2.0.2 source plugin inside my release profile and runing
> mvn release:perform -Prelease
>  [INFO] Building jar: d:\Apache\_release\last\target\checkout\maven-faces-plugin\target\maven-faces-plugin-1.0.0-incubating-javadoc.jar
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] [scm:update {execution: getting-scm.revision}]
> [INFO] Executing: svn --non-interactive update
> [INFO] Working directory: d:\Apache\_release\last\target\checkout\maven-faces-plugin
> [INFO] Storing revision in 'scm.revision' project property.
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: d:\Apache\_release\last\target\checkout\maven-faces-plugin\target\maven-faces-plugin-1.0.0-incubating-sources.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error creating source archive: Problem creating jar: There is not enough space on the disk (and the archive is probably corrupt but I could not delete it)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 minutes 42 seconds
> [INFO] Finished at: Wed Feb 14 09:13:58 CET 2007
> [INFO] Final Memory: 15M/31M
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> This work around helped (instead using the 2.0.2 maven-source-plugin)
>           <plugin>
> 	    <!-- This should possibly better be done by using a resource
> 		     definition. However, if we declare a resource with
> 		     ${basedir} as the base directory, then the
> 		     maven-source-plugin will add the whole directory to
> 		     its contents.
> 	    -->
>          <artifactId>maven-antrun-plugin</artifactId>
>          <executions>
>            <execution>
>              <phase>generate-resources</phase>
>              <configuration>
>               <tasks>
>                 <copy todir="${project.build.outputDirectory}/META-INF">
>                   <fileset dir="${basedir}">
>                     <include name="LICENSE.txt" />
>                     <include name="NOTICE.txt" />
>                   </fileset>
>                 </copy>
>               </tasks>
>             </configuration>
>             <goals>
>               <goal>run</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira