My posting was an example why non-UTF-8-ZIPs are needed to be supported by 
maven-dependency-plugin. It was definitively not intended as a claim that all 
Windows editions exactly need CP850. Sorry for the misunderstanding.


-----Ursprüngliche Nachricht-----
Von: bmat...@gmail.com [mailto:bmat...@gmail.com] Im Auftrag von Baptiste Mathus
Gesendet: Dienstag, 17. März 2015 06:40
An: Maven Users List
Betreff: Re: How to configure maven-dependency-plugin's encoding used for 
unpack?

And this is actually not even always true, CP1252 is also often used on Windows 
(in France for example).

Encoding is actually a quite "simple" problem, but transfer makes it difficult 
to handle as each move has to take care of what it does.
As for the JIRA tickets, if you feel this is not OK, feel free to 
comment/reopen/create the ones you want.
But also beware that without a patch, in that very specific situation, it's not 
very likely someone else will spend time to fix it.

HTH
Cheers

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
> >
>



--
Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to