You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2007/08/29 21:48:11 UTC

[jira] Closed: (MASSEMBLY-194) unnecessary dependency expansion regression

     [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-194.
--------------------------------

    Resolution: Fixed

I've added a new flag to the dependencySet: useTransitiveDependencies.

Use:

{code:xml}
<useTransitiveDependencies>true</useTransitiveDependencies>
{code}

if you want to open up the transitive dependencies to filter, unpack, inclusion/exclusion, etc. operations happening in the dependencySet.

Use:

{code:xml}
<useTransitiveDependencies>false</useTransitiveDependencies>
{code}

if you want to exclude all transitive dependencies from processing in that dependency set.

The default value is currently true. I've also added a new integration test, called 'dependency-sets/dependencySet-nonTransitive' to verify this behavior.

> unnecessary dependency expansion regression
> -------------------------------------------
>
>                 Key: MASSEMBLY-194
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-194
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: Brett Porter
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2-beta-2
>
>         Attachments: assembly-test.tar.gz
>
>
> See the attached test project. It requires that you've run mvn clean install for continuum previously so there is a sizable dependency in the repo to play with. 
> If you build with assembly 2.1, only the tarball is expanded and included in the final distribution (about 27mb) 
> With 2.2-beta-1, all the transitive dependencies are also expanded and included (about 65mb). 
> This is a functionality change, but also consumes a very large amount of memory and CPU.

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