[
http://jira.codehaus.org/browse/MASSEMBLY-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Casey closed MASSEMBLY-424.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.2-beta-6
Assignee: John Casey
dependency resolution only happens once with the new code, so it should be on
par with other plugins now once 2.2-beta-6 (or, hopefully, we'll call it 2.2
final) comes out.
> poor performance of dependencySet in assembly descriptor (compared to using
> maven-dependency-plugin + fileSet)
> --------------------------------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-424
> URL: http://jira.codehaus.org/browse/MASSEMBLY-424
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-4
> Environment: maven 2.1.0, java 6u13, os x 10.5.6, macbook pro 5400rpm
> disk
> Reporter: Cameron Fieber
> Assignee: John Casey
> Priority: Critical
> Fix For: 2.2-beta-6
>
>
> The performance of the dependencySet element in the assembly descriptor is
> significantly worse than achieving the equivalent result by doing an
> execution of dependency:copy-dependencies and including the
> target/dependencies folder as a fileSet in the assembly descriptor
> replacing:
> <assembly>
> ...
> <dependencySets>
> <dependencySet>
> <outputDirectory>lib</outputDirectory>
> </dependencySet>
> </dependencySets>
> ...
> </assembly>
> with:
> <assembly>
> ...
> <fileSet>
> <directory>${project.build.directory}/dependency</directory>
> <outputDirectory>lib</outputDirectory>
> </fileSet>
> ...
> </assembly>
> and (in pom.xml):
> ...
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-dependency-plugin</artifactId>
> <executions>
> <execution>
> <phase>package</phase>
> <goals>
> <goal>copy-dependencies</goal>
> </goals>
> <configuration>
> <includeScope>runtime</includeScope>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-assembly-plugin</artifactId>
> ...
--
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