[ http://jira.codehaus.org/browse/MNG-1130?page=comments#action_48541 ]
Corridor Software Developer commented on MNG-1130: -------------------------------------------------- Suggested Answers: 1) JarSignMojo is a good name. 2) Putting the signed jar at ${project.build.directory}/signed/${project.build.finalName}.jar seems the most appropriate place. I would make this the default. 3) I'd let the jar signer check it's own parameters, but anything added as a result of wrapping it with m2 ought to be checked. But no need to double check something the jar signer validates unless the error message is too obscure. 4) You should definately detect and fail if the jarsigner attempts to prompt for password input. At the very least for the first beta you should require a password so the scenario doesn't exist. Quietly hanging the build won't go over very well :) > 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]