To secure and make deployable an applet or a WebStartApp, you have to : * get the dependencies * modify each manifest (you also have to deal with http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/mixed_code.html#) * and sign the jar.
If you have something else than a specific mojo which can do that, I will be pleased to hear about that. AFAIK the only plugin that can deal with the archiver and change a manifest of an artifact is the jar plugin. Thanks. Laurent Forêt @laurentforet http://www.devcoop.fr On Fri, Jul 26, 2013 at 4:59 PM, Jeff MAURY <[email protected]> wrote: > I don't see why do you need of Mojo for that. > > Jeff > > > On Fri, Jul 26, 2013 at 11:34 AM, Laurent Forêt <[email protected] > >wrote: > > > Hello Davide, > > > > I had the same issue with signing applets. After a quick search, I come > > to the conclusion that we need to override the jarsigner plugin with > > writing a new mojo which will use > > use the maven archiver ( > > http://maven.apache.org/shared/maven-archiver/index.html) and the > > mecanism > > of the dependency-plugin:copy to achieve this. > > > > If you find a better solution, I will be pleased to hear about that. > > > > > > Laurent Forêt > > @laurentforet > > http://www.devcoop.fr > > > > > > On Thu, Jul 25, 2013 at 2:30 PM, Davide Silvestre <[email protected]> > wrote: > > > > > Hello, > > > In Java 7u25 the following change has been introduced: > > > > > > http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/no_redeploy.html > > > This requires that all the jars included in my webstart application > have > > 2 > > > extra entries in their manifest files. > > > I build and I sign the jars contained in my webstart application using > > the > > > Webstart Maven Plugin version 1.0-beta-3. > > > > > > To solve this I should add the 2 new manifest entries in all the jars > > used > > > by my application, but this is not always possible, as most of my > > > dependencies are already deployed in our Nexus repository and some of > > them > > > are thirdparty dependencies, coming from external repositories. > > > > > > Is there a way to add those entries in all my dependencies before they > > are > > > signed? > > > > > > Thanks! > > > David > > > > > > > > > -- > Jeff MAURY > > > "Legacy code" often differs from its suggested alternative by actually > working and scaling. > - Bjarne Stroustrup > > http://www.jeffmaury.com > http://riadiscuss.jeffmaury.com > http://www.twitter.com/jeffmaury >
