You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Raynsford <or...@io7m.com.INVALID> on 2019/03/07 13:01:15 UTC

Jar plugin: Per-entry compression settings?

Hello.

I have a jar file that contains a lot of resources and class files that
compress well, and also a few resources that not only don't compress
well but that I'd actually like to be able to mmap() by parsing the jar
and mapping those sections of the file into memory.

Being able to mmap(), however, is pretty much dependent on those
particular resources not being compressed.

It seems as though the jar plugin only allows me to turn compression on
or off for the entire archive. Is there any way I can specify that I
want everything compressed except for a few specific entries?

-- 
Mark Raynsford | http://www.io7m.com


Re: Jar plugin: Per-entry compression settings?

Posted by Robert Scholte <rf...@apache.org>.
It seems like you want to improve https://maven.apache.org/shared/maven-archiver/

thanks,
Robert
On 7-3-2019 14:01:43, Mark Raynsford <or...@io7m.com.invalid> wrote:
Hello.

I have a jar file that contains a lot of resources and class files that
compress well, and also a few resources that not only don't compress
well but that I'd actually like to be able to mmap() by parsing the jar
and mapping those sections of the file into memory.

Being able to mmap(), however, is pretty much dependent on those
particular resources not being compressed.

It seems as though the jar plugin only allows me to turn compression on
or off for the entire archive. Is there any way I can specify that I
want everything compressed except for a few specific entries?

--
Mark Raynsford | http://www.io7m.com