Thanks Stephen. I will contribute a patch to add a parameter to maven-archiver and plexus-archiver. This parameter will be named indexMetaInfFilenames and will have the same behavior than -Dsun.misc.JarIndex.metaInfFilenames=true in Sun JDK 1.6.0_18+.
Regards, Julien ----- Message d'origine ---- > De : Stephen Connolly <stephen.alan.conno...@gmail.com> > À : Maven Users List <users@maven.apache.org> > Envoyé le : Lun 31 mai 2010, 12h 11min 28s > Objet : Re: Add an argument to jar plugin > > That would be because maven-jar-plugin does _not_ fork the jar command > but builds the jar itself On 31 May 2010 11:00, Julien HENRY < > ymailto="mailto:henr...@yahoo.fr" > href="mailto:henr...@yahoo.fr">henr...@yahoo.fr> wrote: > > Hi, > > I would like to add a parameter to the execution of the jar > command: > > "-J-Dsun.misc.JarIndex.metaInfFilenames=true" > (see: > > target=_blank > >http://bugs.sun.com/view_bug.do?bug_id=2183678) > > Reading the > doc of m-jar-p I don't see a way to do that. Do you know if > this is > possible to give argument to the jar command like for the compiler > > plugin? > > Thanks > > > Julien > > > > > > > --------------------------------------------------------------------- > To > unsubscribe, e-mail: > href="mailto:users-unsubscr...@maven.apache.org">users-unsubscr...@maven.apache.org > > For additional commands, e-mail: > href="mailto:users-h...@maven.apache.org">users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org