[jira] [Commented] (MASSEMBLY-856) Ability to overwrite existing files
[ https://issues.apache.org/jira/browse/MASSEMBLY-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16088673#comment-16088673 ] Kamal Mettananda commented on MASSEMBLY-856: Hi [~gboue] Yes, this solution solves the conf.properties file. However, the intention is to make sure that any files that is there in the first fileset to be replaced by the second fileset if there are duplicates. It is not simple enough to figure out what is the duplicated list of files to be excluded from the first fileset. So the requirement is to explicitly mention which fileset is the latest/newest (with overwrite=true). Hope this clarifies & justifies the requirement. Thanks > Ability to overwrite existing files > --- > > Key: MASSEMBLY-856 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-856 > Project: Maven Assembly Plugin > Issue Type: Improvement >Affects Versions: 2.2-beta-5, 2.5.4, 3.0.0 >Reporter: Kamal Mettananda > Labels: features > > This is a request to add element to in assembly file. > Currently, it is not possible to overwrite the already existing files inside > the expected archive with new files. > e.g.: > Expectation of below assembly file is to have the conf.properties file in > dir2 after the zip file is generated. > {code:xml} > > dist > > zip > > false > > > > dir1 > release > > > > dir2 > release > true > > > > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MASSEMBLY-856) Ability to overwrite existing files
[ https://issues.apache.org/jira/browse/MASSEMBLY-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16052914#comment-16052914 ] Kamal Mettananda commented on MASSEMBLY-856: Hi Karl I created a full working example on Github @ [https://github.com/lkamal/Maven-Assembly-Plugin-MASSEMBLY-856-Reproduced]. Please check whether you would need any changes on the project. Thanks > Ability to overwrite existing files > --- > > Key: MASSEMBLY-856 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-856 > Project: Maven Assembly Plugin > Issue Type: Improvement >Affects Versions: 2.2-beta-5, 2.5.4, 3.0.0 >Reporter: Kamal Mettananda > Labels: features > > This is a request to add element to in assembly file. > Currently, it is not possible to overwrite the already existing files inside > the expected archive with new files. > e.g.: > Expectation of below assembly file is to have the conf.properties file in > dir2 after the zip file is generated. > {code:xml} > > dist > > zip > > false > > > > dir1 > release > > > > dir2 > release > true > > > > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (MASSEMBLY-856) Ability to overwrite existing files
Kamal Mettananda created MASSEMBLY-856: -- Summary: Ability to overwrite existing files Key: MASSEMBLY-856 URL: https://issues.apache.org/jira/browse/MASSEMBLY-856 Project: Maven Assembly Plugin Issue Type: Improvement Affects Versions: 3.0.0, 2.5.4, 2.2-beta-5 Reporter: Kamal Mettananda This is a request to add element to in assembly file. Currently, it is not possible to overwrite the already existing files inside the expected archive with new files. e.g.: Expectation of below assembly file is to have the conf.properties file in dir2 after the zip file is generated. {code:xml} dist zip false dir1 release dir2 release true {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)