You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/03/31 05:11:34 UTC

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

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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey reopened MASSEMBLY-194:
----------------------------------


reopening to address Stephane's issues.

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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100407 ] 

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

Sure, I'll prepare an IT for you.

> 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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_91914 ] 

John Casey commented on MASSEMBLY-194:
--------------------------------------

BTW, I was unable to build Continuum from trunk. Something about a compilation error having to do with maven-scm in the configuration module.

> 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
>         Assigned To: 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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

         Assignee: John Casey
       Resolution: Fixed
    Fix Version/s: 2.2-beta-1

I've added a <useTransitiveFiltering/> flag to the <dependencySet/> that is set to false by default. This restores backward compatibility with 2.1 on this point, where the transitive path of an artifact will not be considered when looking at includes/excludes patterns. If this flag is set to true, it allows you to filter the entire subgraph based on one pattern...so that when you exclude one dependency, you also exclude all of its dependencies (which is more correct).

In fact, this "feature" is a bug in the 2.1 code. The more correct way to fix this, given your example, would be to create a build extension that supplies an artifact handler for tar.gz artifacts. Doing this, you could specify <includesDependencies>true</>, which is really what you're trying to accomplish here.

In any case, I've included a new unit test to check this flag (both directions using that and an existing test), and re-deployed the patched code as a new RC for 2.2-beta-1.

> 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
>         Assigned To: 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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92823 ] 

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

To be more specific. What I've encountered always with 2.2-SNAPSHOT was the following behavior:

com.foo:bar:1.1
 \ com.company:something:1.2
   \ com.another:blah:1.3

If I have the following config, *all* the dependencies were excluded (knowing that \ means transitive deps of)

<exclude>com.foo:bar</exclude>

Now, it excludes com.foo:bar but it does not exclude its transitive deps. Am I right? Is there any way to accomplish this?

> 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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100408 ] 

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

OK. I don't have much time right now so I guess the best is to give you more details.

the problem lies in the excludes filter. It seems like it's completely unable to exclude a set of artifacts based on the groupId and the type for instance

In a dependency set I have this:

{code:xml}
<excludes>
       <!-- samples -->
        <exclude>com.blah.samples:*</exclude>

         <!-- samples dependencies -->
         <exclude>log4j:log4j</exclude>

          <!-- tilapia bundles -->
          <exclude>com.blah.shared.tilapia:*:zip:bundle</exclude>

          <!-- documentation -->
          <exclude>com.blah.shared.tilapia.doc:*:zip</exclude>
 </excludes>
{code}

Running the assembly on this gives namely

{noformat}
[INFO] Processing DependencySet (output=libs)
[WARNING] The following patterns were never triggered in this artifact exclusion filter:
o  'com.blah.shared.tilapia:*:zip:bundle'
o  'com.blah.shared.tilapia.doc:*:zip'
{noformat}

So the first exclude worked but the two last others didn't (I have the doc zip and the bundle zip in the libs directory).





> 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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-194:
---------------------------------


stephane, do you happen to have a test project that displays this behavior, so we can get it fixed? I'm not 100% certain I understand the issue here. In the meantime, I'll go back through the history on this issue and see what I can make of it...

> 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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92824 ] 

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

Another problem. I have more stuff in my libs directory that I don't want (it's packaged in another dir of my assembly). So I try to exclude them explicitely. My config is like that

{code:xml}
        <!-- main libraries -->
        <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.samples:*</exclude>
                [...]
                <exclude>com.foo.shared.blah:*</exclude>
                <exclude>log4j:log4j</exclude>
            </excludes>
        </dependencySet>

        <!-- samples specific libraries -->
        <dependencySet>
            <useTransitiveFiltering>true</useTransitiveFiltering>
            <outputDirectory>samples/dependencies/libs</outputDirectory>
            <outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
            <scope>runtime</scope>
            <includes>
                <include>com.foo.shared.blah:*</include>
                <include>log4j:log4j</include>
            </includes>
        </dependencySet>
{code}

The blah and log4j stuff are indeed packaged in samples/dependencies/libs *AND* in libs.

Running Maven outputs the following:

{noformat}
[INFO] Processing DependencySet (output=libs)
[WARNING] The following patterns were never triggered in this artifact exclusion filter:
o  'com.foo.shared.blah:*'

[INFO] Processing DependencySet (output=samples/dependencies/libs)
{noformat}

I am rolling back to 2.2-snap.

> 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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-194:
---------------------------------

       Priority: Blocker  (was: Major)
    Description: 
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.

  was:
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.


if it's a regression, it's critical

> 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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-194:
---------------------------------

    Fix Version/s:     (was: 2.2-beta-1)
                   2.2

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

        

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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-194:
---------------------------------

    Fix Version/s:     (was: 2.2)
                   2.2-beta-2

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