Hi Alan ,

Next time, please write to [email protected], this list is for maven development!

To use Jar signing, you have to checkout the latest SVN version of the maven-jar-plugin and install it.
Then, include this in your POM:

<project>
<build>
  <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-jar-plugin</artifactId>
       <version>2.1-SNAPSHOT</version>
       <executions>
         <execution>
           <id>jar.sign</id>
           <goals>
             <goal>sign</goal>
           </goals>
           <configuration>
             <!-- Attach signed artifact -->
             <classifier>signed</classifier>
           </configuration>
         </execution>
       </executions>
     </plugin>

How, your signed artifacts will be deployed as <artifactId>-<version>-signed.jar Simply use "signed" as classifier in your dependecies-section to use the signed instead of the unsigned version.

Regards,
   Michael


How do I do this?


Regards,
Alan


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


--
Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel
P: +41 61 226 99 63 - F: +41 61 226 99 69
[EMAIL PROTECTED]; http://www.giniality.com/



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

Reply via email to