Jämförda versioner

Nyckel

  • Dessa rader lades till.
  • Denna rad togs bort.
  • Formateringen ändrades.

...

  • Go back to the Nexus UI, i.e. https://oss.sonatype.org
  • Login and select the release bundle again
  • Click on the Release button.
  • Artifacts should now be synced with central Maven repository on a hourly bases...

Skapa GPG-nyckel för att signera artefakter vid release

Sonatype OSS kräver signering av artefakter med GPG (konfiguration för detta finns i Sonatype OSS maven parent-pom).

Install pgp, create key-pair and distribute public key.See http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/ for details.

  1.  Install pgp
    If you are a Mac user and have macports installed (you really should!) then simply install pgp with the command:
    {noformat}sudo port install gnupg{noformat}
  2. Create key-pair
    {noformat}gpg --gen-key{
    no format}
  3. List keys
    {noformat}
    gpg --list-keys
    gpg --list-secret-keys
    {noformat}
    Keys will be listed in the following format where the key id, nnnnnnnn, is the most important
    {noformat}
    pub mmmmm/nnnnnnnn date
    uid name <email>
    sub mmmmm/ssssssss date
    {noformat}
  4. Distribute public key
    {noformat}
    gpg --keyserver hkp://pgp.mit.edu --send-keys nnnnnnnn{noformat}
  5. Define the default key
    If you have more than one private key you can define a default key by editing the configuration file:
    {noformat}
    mate ~/.gnupg/gpg.conf{noformat}
    And set the default-key option to your preferred default key:
    {noformat}
    # If you have more than 1 secret key in your keyring, you may want to
    # uncomment the following option and set your preferred keyid.
    default-key nnnnnnnn
    {noformat} 

Paketnamn

SKLTP komponenter

...