I don't really see that the dependency plugin has any support for encoding in pack or unpack. Where did you see that ?
Kristian 2015-03-16 15:04 GMT+01:00 Markus Karg <k...@quipsy.de>: > Kristian, > > can you please reopen the item then? I mean, it simply is not fixed, > because UTF-8 ZIPs are not a solution: Windows cannot correctly display > them, so people on the Windows world will virtually every create CP850-ZIPs! > > Do you know about any plans to support this, or what is the intended > future of this issue? > > Thanks > -Markus > > -----Ursprüngliche Nachricht----- > Von: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] > Im Auftrag von Kristian Rosenvold > Gesendet: Montag, 16. März 2015 13:46 > An: Maven Users List > Betreff: Re: How to configure maven-dependency-plugin's encoding used for > unpack? > > I did not actually look at the implementation on the dependency plugin, > but it is actually technically impossible to supply the encoding parameter > to > *unzip* via the <archiverConfig> tag. So until this is fixed, UTF-8 zip > archives are the only ones that will work (with plexus unzip archiver). > > Kristian > > > 2015-03-16 13:05 GMT+01:00 Adrien Rivard <adrien.riv...@gmail.com>: > > > If I'm reading the documentation correctly, <archiverConfig><encoding> > > only apply to filter resources, not to zip them. > > > > In any case I would try using utf-8. > > > > > > On Mon, Mar 16, 2015 at 12:34 PM, Kristian Rosenvold < > > kristian.rosenv...@gmail.com> wrote: > > > > > I dont believe there is support for specifying encoding to unzip. At > > least > > > assembly only provides config to zip. Call it a bug, call it a > > > feature :( > > > > > > Kristian > > > > > > > > > 2015-03-16 12:12 GMT+01:00 Markus Karg <k...@quipsy.de>: > > > > > > > To preserve German umlauts in file names within a ZIP, we are > using... > > > > > > > > <archiverConfig> > > > > <encoding>CP850</encoding> > > > > </archiverConfig> > > > > > > > > ...in the maven-assembly-plugin configuration, which is working well. > > :) > > > > > > > > Next we want to use maven-dependency-plugin to unpack that ZIP. > > > > > > > > How can we configure maven-dependency-plugin:unpack so it will > > > > apply > > > CP850 > > > > when unpacking that ZIP? > > > > > > > > Thanks! > > > > -Markus > > > > > > > > > > > > > > > -- > > Adrien Rivard > > >