You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Huss (JIRA)" <ji...@codehaus.org> on 2010/12/07 20:20:00 UTC

[jira] Commented: (MASSEMBLY-285) regression: duplicate files added to the assembly

    [ http://jira.codehaus.org/browse/MASSEMBLY-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246776#action_246776 ] 

Daniel Huss commented on MASSEMBLY-285:
---------------------------------------

Why has this been flagged as fixed? If two filesets contain files with identical names, I still get those awkward duplicates (2.2 beta5 and final):

{code:xml}
	<fileSet>
			<!-- copy indexer and its dependencies-->
			<directory>${project.build.directory}/deps/indexer</directory>
			<outputDirectory>glassfishv3/glassfish/domains/domain1/autodeploy/jobservice/WEB-INF/lib</outputDirectory>
		</fileSet>
		<fileSet>
			<!-- deploy jobservice to glassfish from unpacked WAR -->
			<directory>${project.build.directory}/deps/jobservice</directory>
			<outputDirectory>glassfishv3/glassfish/domains/domain1/autodeploy/jobservice</outputDirectory>
		</fileSet>
{code}

!http://img802.imageshack.us/img802/1585/clipboard01iz.jpg!

> regression: duplicate files added to the assembly
> -------------------------------------------------
>
>                 Key: MASSEMBLY-285
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-285
>             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-3
>
>
> I found that it was possible to add a file twice to the assembly through different filesets (a zip file) so that when it extracted it prompted for overwrite.
> It should error out or collapse the entries (as 2.1 did).

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