[jira] Commented: (MASSEMBLY-285) regression: duplicate files added to the assembly
[ https://jira.codehaus.org/browse/MASSEMBLY-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=284982#comment-284982 ] Chad McHenry commented on MASSEMBLY-285: This is still an issue in maven-assembly-plugin-2.2.2. (i) The maven-shade-plugin (mentioned in [jar-with-dependencies|http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies] pre-defined descriptor) can create standalone (uber) jars and does not duplicate files. {code:xml}!-- Shade can create a standalone jar -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-shade-plugin/artifactId version1.5/version executions execution phasepackage/phase goalsgoalshade/goal/goals configuration transformers transformer implementation=org.apache.maven.plugins.shade.resource.ManifestResourceTransformer mainClass${mainClass}/mainClass /transformer /transformers shadedArtifactAttachedtrue/shadedArtifactAttached shadedClassifierNamestandalone/shadedClassifierName /configuration /execution /executions /plugin {code} regression: duplicate files added to the assembly - Key: MASSEMBLY-285 URL: https://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. For more information on JIRA, see: http://www.atlassian.com/software/jira
[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-tabpanelfocusedCommentId=255752#action_255752 ] Andreas Pieber commented on MASSEMBLY-285: -- Please reopen this issue. I've the same problems as Daniel thanks 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
[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-tabpanelfocusedCommentId=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 outputDirectoryglassfishv3/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 outputDirectoryglassfishv3/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
[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-tabpanelfocusedCommentId=204300#action_204300 ] Julien CARSIQUE commented on MASSEMBLY-285: --- There's still a missing behavior which is replace/update/overwrite like zip -u option. I need this and I guess it's the most wanted behavior when archiving files already present in a zip, we often want to update/replace the file already archived, not to skip the new one (or preserve the old one). 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
[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-tabpanelfocusedCommentId=151340#action_151340 ] Antony Stubbs commented on MASSEMBLY-285: - Hi everyone, glad to see you all agree! Have opened a new issue to cover this, as this one has been officially closed and doesn't seem to be getting much attention: http://jira.codehaus.org/browse/MASSEMBLY-361 Please go and vote for it! 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
[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-tabpanelfocusedCommentId=151180#action_151180 ] Daniel Gredler commented on MASSEMBLY-285: -- +1 on defaulting to overwrite, at least if the assembly is building a jar or a war... 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
[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-tabpanelfocusedCommentId=150010#action_150010 ] Antony Stubbs commented on MASSEMBLY-285: - Shouldn't the default behaviour be the 'correct' behaviour? What percentage of people actually want duplicate files in their artefacts? Why should we try to preserve incorrect behaviour? This sort of thing cripples products - just look at the www. Please point it out if there's something I'm missing. 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
[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-tabpanelfocusedCommentId=150017#action_150017 ] Dan Diephouse commented on MASSEMBLY-285: - I heartily agree with Antony here - please reopen this issue! 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
[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-tabpanelfocusedCommentId=150030#action_150030 ] Alan Cabrera commented on MASSEMBLY-285: I agree as well. 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
[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-tabpanelfocusedCommentId=150038#action_150038 ] Julien S commented on MASSEMBLY-285: I just to give one more voice on the topic, I also strongly agree that the normal behavior is not to duplicate files. 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
[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-tabpanelfocusedCommentId=150040#action_150040 ] Benjamin Bentmann commented on MASSEMBLY-285: - bq. Shouldn't the default behaviour be the 'correct' behaviour? +1, following Maven's spirit of convention over configuration where the convention of course should be sensible, i.e. cover the major use case. 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
[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-tabpanelfocusedCommentId=150049#action_150049 ] Erik Engstrom commented on MASSEMBLY-285: - I agree that the default behaviour should be to not allow duplicates. I also think that the default should be to overwrite, not to skip. So that it works just like copying files to a directory. 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
[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-tabpanelfocusedCommentId=150104#action_150104 ] Alison Winters commented on MASSEMBLY-285: -- I strongly agree. Every time we have to put workarounds in our poms we're just taking another step back to ant build.xmls. I honestly can't think of any case where it would be useful to have two of the same file in an archive. My vote would be to overwrite and warn. 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
[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-tabpanelfocusedCommentId=148501#action_148501 ] Artur Zielazny commented on MASSEMBLY-285: -- With following configuration placed in parent's POM: plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-3-SNAPSHOT/version configuration archiverConfig duplicateBehaviourskip/duplicateBehaviour /archiverConfig descriptors descriptorsrc/main/assembly/assembly.xml/descriptor /descriptors outputDirectorytarget/outputDirectory /configuration /plugin used in multimodule project (parent, then few modules as child), this is still adding duplicates into the final ZIP archive. duplicateBehaviourfail/duplicateBehaviour does not fail as well. I will appreciate any help. 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
[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-tabpanelfocusedCommentId=148502#action_148502 ] Artur Zielazny commented on MASSEMBLY-285: -- With duplicateBehavior instead of duplicateBehaviour (one letter changed) it still does not work. 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
[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-tabpanelfocusedCommentId=148396#action_148396 ] John Casey commented on MASSEMBLY-285: -- the default duplicates setting for the zip archiver is add, meaning allow duplicates. This logic has been preserved, and using the archiverConfig element of the plugin configuration you an override it. BTW, the duplicates-handling logic from the zip archiver has been generalized out to the AbstractArchiver, so all archivers should handle it. 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
[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-tabpanelfocusedCommentId=144960#action_144960 ] gotama commented on MASSEMBLY-285: -- I found this bug while trying to merge 2 fileset directories expecting that the 2nd would overwrite the first set of files where they overlap (in using one fileset as default files and the 2nd fileset as overrides). The result was as described in the bug - 2 identical files added to the resulting zip file. Upon extraction of the zip, I was prompted for an option to override one of the files. I also verified that the case on both files was lower case, so its NOT an issue with the same filename with different case; ie creating the archive on unix and extracting on Windows. This bug has been open for a long time. It would be appreciated if this was fixed ASAP. Its a huge blocker. Thanks! example assembly.xml file: assembly xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd; idbin/id formats formatzip/format /formats fileSets fileSet !--must use absolute reference with ${pom.basedir} to achieve filtering -- directory${pom.basedir}/src/main/config/defaults//directory outputDirectory${pom.basedir}/target/work//outputDirectory filteredtrue/filtered /fileSet fileSet !-- must use absolute reference with ${pom.basedir} to achieve filtering -- directory${pom.basedir}/src/main/config/overrides//directory outputDirectory${pom.basedir}/target/work//outputDirectory filteredtrue/filtered /fileSet /fileSets /assembly 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 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
[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-tabpanelfocusedCommentId=144961#action_144961 ] gotama commented on MASSEMBLY-285: -- Until this is fixed, here is an example work around, if you are interested (the modules parent is a default jboss-assembly module - the child module inherits the src and config of the default jboss-assembly): pom.xml: plugins !-- generate resources. merge default and current configurations. -- plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasegenerate-resources/phase configuration tasks copy todir=${project.build.directory}/generated-resources/ preservelastmodified=true verbose=true overwrite=true fileset dir=${basedir}/../jboss-assembly/src/main/config// /copy copy todir=${project.build.directory}/generated-resources/ preservelastmodified=true verbose=true overwrite=true fileset dir=${basedir}/src/main/config// /copy /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin -- maven assembly plugin -- /plugins 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 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
[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-tabpanelfocusedCommentId=144394#action_144394 ] Artur Zielazny commented on MASSEMBLY-285: -- Similar situation while assembling multimodule project to ZIP using moduleSets moduleSet includes ... in assembly.xml 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 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
[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-tabpanelfocusedCommentId=137228#action_137228 ] Andrei Solntsev commented on MASSEMBLY-285: --- I have a project with several submodules, each of them creates a ZIP during build. When I build submodules one by one, they produce correct ZIPs. But when i build the entire project with all submodules, their ZIPs contain duplicated entries. 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 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
[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-tabpanelfocusedCommentId=135591#action_135591 ] Amir Eliaz commented on MASSEMBLY-285: -- This is happening also with tar.gz format. The resulting tar file contains many copies of several Jar artifacts, multiplying its size by ~4. When extracting, only one copy is left per artifact. 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 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
[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-tabpanelfocusedCommentId=132524#action_132524 ] Michael Mattox commented on MASSEMBLY-285: -- I'm having this problem too when making a WAR file. 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 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
[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-tabpanelfocusedCommentId=129182#action_129182 ] Andrew Perepelytsya commented on MASSEMBLY-285: --- 2.2-beta-2 is badly broken due to this. Does it really take so much time to fix the regression? Pleease? :) 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 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
[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-tabpanelfocusedCommentId=129183#action_129183 ] Andrew Perepelytsya commented on MASSEMBLY-285: --- This is reproduced when one tries e.g. to configure permissions on the files in the directory using multiple include/exclude patterns. Each FileSet is instead copied and duplicated in zip. E.g. real config that broke: http://svn.galaxy.muleforge.org/browse/galaxy/trunk/netboot/mule1/distribution/assembly.xml?r=487 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 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