On 10/3/07, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: > Currently we let the webstart plugin sign all jars everytime we do a > build with the profile "production". > However, even in this seperate profile, we need to make it faster. > > We are thinking about deploying the signed jars back to our repository, > with the same groupId, artifactId and version, but with an extra > classifier: the id of our signed key. > For example: commons-lang-2.0-signedKeyId.jar > This way the webstart plugin could reuse that jar from the repo instead > of signing it each time, over and over again. > > Has anyone done anything similar and/or is there any support for this in > the webstart plugin?
I think some people mentioned doing something similar, some months ago, but that may have been on the maven users list. There's no support (yet) in the webstart plugin. But it shouldn't be too hard to achieve using the jar sign plugin instead, or using a new mojo based on the jar plugin again. The attachment happens when the signing is not in place: http://maven.apache.org/plugins/maven-jar-plugin/xref/org/apache/maven/plugin/jar/JarSignMojo.html#340 You would probably have to add a setter for the projecthelper so that your mojo can inject it as long with your required classifier, probably somewhere here: http://fisheye.codehaus.org/browse/mojo/trunk/mojo/webstart-maven-plugin/plugin/src/main/java/org/codehaus/mojo/webstart/JarSignMojoConfig.java?r=3571#l73 Cheers, Jerome PS, if you've got time to test MWEBSTART-34, that would be great. I would love to fix that before the next stable release. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
