Re: [M2] How to sign a jar file
Mark, I tried your suggestion first since I had already attempted that one once. It worked perfectly! What I was overlooking was how to get the 2.1-SNAPSHOTversion into my repository. Thanks again! TJ On 3/30/06, Mark Hewett <[EMAIL PROTECTED]> wrote: > > We are using the following. > > > maven-jar-plugin > > > > sign > > > > > ${project.build.directory}/${project.build.finalName > }.jar > ${ project.build.directory}/signed/${ > project.build.finalName}.jar > ${keystore.location} > ${keystore.storepass} > ${ keystore.keypass} > ${keystore.alias} > > > > The keystore properties are defined in our parent POM, but you can > just hard code them > > You will also need to enable snapshots, since this needs the > 2.1-SNAPSHOT version of the maven-jar-plugin. See > http://maven.apache.org/guides/development/guide-testing-development-plugins.html > . > > This also seems to install the signed JAR into the repository, in > place of the unsigned JAR. > > Hope this helps. > Mark > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: [M2] How to sign a jar file
We are using the following. maven-jar-plugin sign ${project.build.directory}/${project.build.finalName}.jar ${project.build.directory}/signed/${project.build.finalName}.jar ${keystore.location} ${keystore.storepass} ${keystore.keypass} ${keystore.alias} The keystore properties are defined in our parent POM, but you can just hard code them You will also need to enable snapshots, since this needs the 2.1-SNAPSHOT version of the maven-jar-plugin. See http://maven.apache.org/guides/development/guide-testing-development-plugins.html. This also seems to install the signed JAR into the repository, in place of the unsigned JAR. Hope this helps. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to sign a jar file
The webstart plugin can do this. I think you can configure it so that it just signs jars, rather than create jnlps, etc. Should be a start, anyway. http://docs.codehaus.org/display/MOJO/Webstart+Plugin http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven- plugin/introduction.html J On 30-Mar-06, at 1:59 PM, TJ Greenier wrote: Hi all, Can anyone explain how to sign a jar file after it has been packaged? I have looked around and tried using jar:sign, but no luck. If anyone has an example or can point me in the right direction, I would really appreciate it. Thanks, TJ -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] How to sign a jar file
Hi all, Can anyone explain how to sign a jar file after it has been packaged? I have looked around and tried using jar:sign, but no luck. If anyone has an example or can point me in the right direction, I would really appreciate it. Thanks, TJ