Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
HI,
Feature description (ustar)
I don't know which formats can be configured, but the maven-assembly-maven-plugin uses plexus-compress which in turn uses commons-compress... and there I can chose between:
public enum TarLongFileMode { warn, fail, truncate, gnu, omit, posix, posix_warn; }
I do not know how to create ustar archives. Maybe omit or truncate will result in a v7 or ustar archive, I really do not know. But looking at the constants, there is only:
TarArchiveOutputStream (Apache Commons Compress 1.26.2 API)
GNU, POSIX, TRUNCATE, ERROR
Use case
bsdtar (used by Mac and AIX, for example, as well as OpenBSD and maybe some obsolete systems like HaikuOS, HPUX, Solaris) do not support GNU nor Posix extensions. They all support v7, they all support the ustar extensions.
ustar is therefore the only suitable format at the moment (Note: Not entirely true. AIX will implement posix/pax in AIX 7.3.1, current Mac can now also do pax). However, AIX 7.3.1 is relatively new, and there may be a lot of old systems which will justify implementing the ustar format
Attachments
Issue Links
- blocks
-
MASSEMBLY-1032 should be able to create ustar archives (i.e. non-posix/non-GNU)
- Open
- is related to
-
COMPRESS-682 Support XAR archive format
- Open
-
COMPRESS-419 Make output format of tar configurable
- Open