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 <[email protected]> > À : Maven Users List <[email protected]> > 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:[email protected]" > href="mailto:[email protected]">[email protected]> 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:[email protected]">[email protected] > > For additional commands, e-mail: > href="mailto:[email protected]">[email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
