What goes into:
<!-- Attach signed artifact -->
Is there a sample working project that I can look at?
Regards,
Alan
On 2/16/2006 1:34 AM, Michael Böckling wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]