Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Latest commit

 

History

History
54 lines (45 loc) · 1.39 KB

README.md

File metadata and controls

54 lines (45 loc) · 1.39 KB

osgi-tools

OSGi Bundles that help diagnose issues on OSGi containers. Testing a change.

Codeship Status for jeromebridge/osgi-tools

Encrypting Files For Rultor

How To Release To Maven Central Generate the keys. Accept the defaults and enter the required inputs. Leave the passphrase empty.

gpg --gen-key

Copy the generated keys.

cp ~/.gnupg/pubring.gpg .; cp ~/.gnupg/secring.gpg .

Make sure you include the gpg properties in your settings.xml

<settings>
  <profiles>
    <profile>
      <id>ci</id>
	  <activation>
		<activeByDefault>true</activeByDefault>
	  </activation>
      <properties>
        <gpg.homedir>/home/r</gpg.homedir>
        <gpg.keyname>924CF0D9</gpg.keyname>
        <gpg.passphrase></gpg.passphrase>
      </properties>
    </profile>
  </profiles>
</settings>

Encrypt files.

rultor encrypt -p jeromebridge/osgi-tools pubring.gpg
rultor encrypt -p jeromebridge/osgi-tools secring.gpg
rultor encrypt -p jeromebridge/osgi-tools settings.xml

Local Build

VERSION=1.00.004
mvn versions:set "-DnewVersion=$VERSION"
find . -name "pom.xml" -exec mvn versions:set "-DnewVersion=${VERSION}" -f {} \;
mvn clean install