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
>

Reply via email to