[ http://jira.codehaus.org/browse/MPDIST-7?page=all ]

Jason van Zyl updated MPDIST-7:
-------------------------------

    Assign To:     (was: Jason van Zyl)

> Use shorter path for assembling distributions and clean up afterwards.
> ----------------------------------------------------------------------
>
>          Key: MPDIST-7
>          URL: http://jira.codehaus.org/browse/MPDIST-7
>      Project: maven-dist-plugin
>         Type: Improvement

>  Environment: All, but particularly Windows
>     Reporter: Bruce Chenoweth
>  Attachments: plugin.jelly, plugin.properties, properties.xml
>
>
> 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

-- 
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

Reply via email to