You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/03/03 19:27:23 UTC

[jira] Updated: (MPDIST-7) Use shorter path for assembling distributions and clean up afterwards.

The following issue has been updated:

    Updater: Bruce Chenoweth (mailto:bruce.chenoweth@guidant.com)
       Date: Wed, 3 Mar 2004 1:26 PM
    Comment:
Here is an implementation of my suggestions
    Changes:
             Attachment changed to plugin.jelly
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDIST-7&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPDIST-7

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPDIST-7
    Summary: Use shorter path for assembling distributions and clean up afterwards.
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-dist-plugin

   Assignee: Jason van Zyl
   Reporter: Bruce Chenoweth

    Created: Wed, 3 Mar 2004 1:21 PM
    Updated: Wed, 3 Mar 2004 1:26 PM
Environment: All, but particularly Windows

Description:
As of maven-dist-plugin1.3 (maven-1.0-rc1), the plugin creates an excessively long intermediate path when assembling the files prior to creating the archives.

This has been causing problems for some of our builds because we have fairly long artifactIds and deep package structures.  This causes bad behavior under windows when the absolute path is deeper than 255 characters.

I would propose the following:
 - set the default plugin.properties as follows:
    * maven.dist.bin.assembly.dir=${maven.dist.dir}/bin
    * maven.dist.src.assembly.dir=${maven.dist.dir}/src
 - Remove the following plugin.properties (unused):
    * maven.dist.assembly.dir
    * maven.dist.bin.archive.dir
    * maven.dist.src.archive.dir
 - Modify plugin.jelly to
    * replace maven.dist.bin.archive.dir with maven.dist.bin.assembly.dir
    * replace maven.dist.src.archive.dir with maven.dist.src.assembly.dir
    * Use the 'prefix' directive on <ant:zipfileset> and <ant:tarfileset> when creating archives

 - delete the assembly directories after building the archives
 - delete distributions.tar.gz after deploy



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org