You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2020/04/17 08:33:00 UTC

[jira] [Closed] (MASSEMBLY-931) Support OpenOptions for a file

     [ https://issues.apache.org/jira/browse/MASSEMBLY-931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MASSEMBLY-931.
------------------------------------
      Assignee: Robert Scholte
    Resolution: Won't Fix

This is not the right approach. While building up an archive in a Stream it is way too hard to apply  OpenOptions based an older entries.

> Support OpenOptions for a file
> ------------------------------
>
>                 Key: MASSEMBLY-931
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-931
>             Project: Maven Assembly Plugin
>          Issue Type: New Feature
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>            Priority: Major
>
> When writing a file in Java via Files.write/Files.writeString ([https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Files.html]) it is possible to add OpenOptions. 
> [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/StandardOpenOption.html] shows a set of available values.
> At least the <file> -element [https://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_file] should be extends with <options/>
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)