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

Stephane Nicoll commented on MASSEMBLY-194:
-------------------------------------------

This changes has broken my build apparently. I've tried to switch this 
parameter on/off without success.

I have a project that builds an assembly and relies on assemblies A, B, C, D, 
E. Each of those assemblies are made from a complex project so it brings extra 
deps as well.

What I have is the following entry:

<dependencySet>
            <useTransitiveFiltering>true</useTransitiveFiltering>
            <outputDirectory>libs</outputDirectory>
            
<outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
            <scope>runtime</scope>
            <!-- Make sure to exclude everything specific here -->
            <excludes>
                <exclude>com.foo.bar:*</exclude>
            </excludes>
        </dependencySet>

Where com.foo.bar is the groupId of A,B,C,D,E. With beta-1,transitive 
dependencies of A,B,C,D,E *are* packaged in the libs directory. With my local 
2.2.-SNAPSHOT that I build before this fix, it doesn't.

I think this change introduced a regression. I am trying to reproduce with a 
simple project since the one i'm using is fairly complex.

> 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
>             Fix For: 2.2-beta-1
>
>         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

        

Reply via email to