servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ioannis Canellos <ioca...@gmail.com>
Subject ServiceMix bundles and maven-jarsigner-plugin
Date Mon, 05 Dec 2011 10:47:02 GMT
Hi all,

For issue https://issues.apache.org/jira/browse/SMX4-1000 I had to use the
maven-jarsigner-plugin.

The use of this plugin requires some short of maven configuration similar
to the one we already use for gpg maven plugin.
So I thought it would be a good idea to inform you about these settings.
First it requires to you to create a keystore from your shell:

keytool -genkeypair -alias <alias> -keyalg RSA -keystore
<path/to/the/keystore>

Then it requires to update your maven settings.xml and add the following
properties under the profile you use for building/releasing:

          <keystore>/path/to/the/keystore</keystore>
          <alias>Alias name</alias>
          <storepass>Store password</storepass>
          <keypass>Key password</keypass>



Note: this is not something just required for releasing of the artifact
(but for properly building it) and so the sign phase will be executed by
all profiles.

-- 
*Ioannis Canellos*
*
FuseSource <http://fusesource.com>

**
Blog: http://iocanel.blogspot.com
**
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache Camel <http://camel.apache.org/> Committer
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
Apache DirectMemory <http://incubator.apache.org/directmemory/> Committer
*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message