[ http://jira.codehaus.org/browse/MNG-1130?page=comments#action_48529 ] 

Jerome Lacoste commented on MNG-1130:
-------------------------------------

I have a working mojo. I need some feedback on how to improve/clean it up it 
before submitting it. Want to answer the following questions?

- use a good name: JarSignMojo vs SignJarMojo ?

- where should the signed jar should be produced. Right now I don't have a 
default location.
  I use a signedjar parameter which I've configured to 
           
<signedjar>${project.build.directory}/signed/${project.build.finalName}.jar</signedjar>
  in my tests.

- should one perform parameter checkin or should we let jarsigner do it for us?

- jarsigner has the stupid habit of asking questions when a password parameter 
is missing. I don't like this, it hangs the build, without output (I didn't 
redirect system.in to the output). Should we try to detect the issue, maybe 
redirect the question to the visible output and auto-resolve it (e.g. add 
garbage to System.in). That would be an improvement, not required for a first 
version.

Feel free to pop up on #maven.

> Support jar signing.
> --------------------
>
>          Key: MNG-1130
>          URL: http://jira.codehaus.org/browse/MNG-1130
>      Project: Maven 2
>         Type: New Feature
>   Components: maven-jar-plugin
>     Versions: 2.0-beta-3
>  Environment: gentoo linux, jdk 1.4.2_06
>     Reporter: Corridor Software Developer
>  Attachments: mng-1130.tar.gz
>
>
> The Java webstart framework requires that jars used by a webstart application 
> be signed.
> Create a new goal on the maven jar plugin called jar:sign. The goal would 
> take a keystore file as input and sign the project artifact prior to 
> installing it to the local repository or deploying it to the repo. 
> The plugin should also allow a specific dependency or dependencies, as well 
> as it's runtime dependencies to be signed.
> This functionality is required prior to finishing the webstart-maven-plugin.
> Two example test projects will be attached to the ticket shortly.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to