You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2006/03/13 10:49:30 UTC

[jira] Moved: (MJAR-35) Abstraction for JarSignMojo so that webstart plugin can allow the user to choose how their jars are signed

     [ http://jira.codehaus.org/browse/MJAR-35?page=all ]

Lukas Theussl moved MPJAR-54 to MJAR-35:
----------------------------------------

    Workflow: Maven New  (was: jira)
         Key: MJAR-35  (was: MPJAR-54)
     Project: Maven 2.x Jar Plugin  (was: maven-jar-plugin)

> Abstraction for JarSignMojo so that webstart plugin can allow the user to choose how their jars are signed
> ----------------------------------------------------------------------------------------------------------
>
>          Key: MJAR-35
>          URL: http://jira.codehaus.org/browse/MJAR-35
>      Project: Maven 2.x Jar Plugin
>         Type: New Feature

>     Reporter: David Boden
>  Attachments: JarSignerMojo.java
>
>
> The webstart Maven 2 plugin signs jar files as part of its operation. At the moment, it relies upon JarSignMojo to do this.
> While this is going to be correct 90% of the time, sometimes users (like myself!) need to ask the webstart plugin to sign jars in a different way.
> Specifically, my company keeps its private key separate and provides an HTTP Post interface to allow me to submit jars for signing. I've got a Mojo to do this.
> What I need is for the webstart plugin to use an abstraction defined in an interface called JarSignerMojo (attached to this issue) rather than JarSignMojo. That way, I can plug my own Mojo in to be used instead of JarSignMojo. Jerome Lacoste is doing the webstart plugin development and is happy to accommodate this change if we can get the interface added to the jar plugin project.
> The only change to the existing code is that JarSignMojo's class declaration needs to be changed to:
> public class JarSignMojo extends AbstractMojo implements JarSignerMojo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira