File: README.dev

package info (click to toggle)
testng 6.9.12-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,356 kB
  • sloc: java: 53,851; xml: 2,720; sh: 199; php: 35; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 946 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
New installation:

Install GPG at http://www.gpgtools.org/gpgmail/index.html
Generate new key with gpg --gen-key
build-with-maven
gpg --list-keys
Send the public key:
  gpg --keyserver hkp://pool.sks-keyservers.net --send-keys <public_key>
  or wwwkeys.at.pgp.net


  instructions at https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven


Configure ~/.m2/settings.xml with Nexus user/password:

  <settings>
    <servers>
      <server>
        <id>sonatype-nexus-snapshots</id>
        <username>***</username>
        <password>***</password>
      </server>
      <server>
        <id>sonatype-nexus-staging</id>
        <username>***</username>
        <password>***</password>
      </server>
    </servers>
  </settings>

Snaphot deploy:
mvn -Dgpg.passphrase= -Dgpg.keyname=<public_key> deploy

Staging deploy:
mvn -Dgpg.passphrase= -Dgpg.keyname=<public_key> release:clean release:prepare release:perform