[ http://jira.codehaus.org/browse/MASSEMBLY-124?page=all ]
John Casey closed MASSEMBLY-124. -------------------------------- Assignee: John Casey Resolution: Fixed fixed by refactor. I've added an integration test to catch regressions (once ITs are enabled during the normal build of the assembly plugin). For now, you can test it using: mvn invoker:run -Dpom=src/it/basic-features/dependency-sets/dependencySet-withExecutedProject/pom.xml This uses the invoker plugin from: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-invoker-plugin > DpendencySet doesn't work anymore when taken from executedProject > ----------------------------------------------------------------- > > Key: MASSEMBLY-124 > URL: http://jira.codehaus.org/browse/MASSEMBLY-124 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: maven 2.0.4 > Reporter: Jerome Lacoste > Assigned To: John Casey > Priority: Critical > Fix For: 2.2 > > Attachments: patch.diff > > > One of my project build just broke after an upgrade to the latest plugins. > assembly contains: > <dependencySets> > <dependencySet> > <outputDirectory>lib</outputDirectory> > <unpack>false</unpack> > <scope>runtime</scope> > </dependencySet> > If I add a logging to the DirectoryMojo class I can see that no dependencies > are seen for the project. > + getLog().debug( "DependencySet[" + output + "]" + " > allDependencies: " + allDependencyArtifacts.size() > + + " filtered: " + dependencyArtifacts.size() ); > + > [INFO] [assembly:directory] > [...] > [DEBUG] DependencySet[ubd-1.0.1-SNAPSHOT/lib/] dir perms: 40755 file perms: > 100644 > [DEBUG] DependencySet[ubd-1.0.1-SNAPSHOT/lib/] allDependencies: 0 filtered: 0 > [...] > If I force the plugin to use the original project (not the executedProject), > assembly works again (see patch). > As such, this issue very similar to the MCLIRR-2 one encountered by Vincent. -- 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