-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme_nexuspublish.txt
57 lines (38 loc) · 1.56 KB
/
readme_nexuspublish.txt
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
April 9th 2017
==============
Install Gnu GP and generated the PGP key using Kleopatra
To make my gpg pass phrase available, BUT not checked in, do this
Edit C:\Users\Jonathan\.sbt\0.13\plugins\pgp.sbt
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
Edit C:\Users\Jonathan\.sbt\0.13\pgp.sbt
and add
com.typesafe.sbt.pgp.PgpKeys.pgpSecretRing := file("/Users/Jonathan/AppData/Roaming/gnupg/secring.gpg")
com.typesafe.sbt.pgp.PgpKeys.pgpPublicRing := file("/Users/Jonathan/AppData/Roaming/gnupg/pubring.gpg")
com.typesafe.sbt.pgp.PgpKeys.pgpPassphrase := Some(Array('p','a','s','s','w','o','r','d','1'))
==========================
Configure Sonartype
Edit C:\Users\Jonathan\.sbt\0.13\sonartype.sbt
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"yourloginname",
"password")
==========================
cd sackfix
sbt
>project sackfixcommon
>publishSigned
>sonatypeRelease
cd ../sackfixmessages
# Below two are SLOW, and 90 mins together
publishAllToNexus.bat
releaseAllToNexus.bat
cd ../sackfixsessions
sbt
>project sackfixsessions
>publishSigned
# Refused to work >sonatypeRelease
# So logged in to nexus, closed the staging repo (search for quickfix in staging), hit refresh, then hit release.
==========================
Finally log in to nexus, take a look at the staging repos, and close them and then drop them.
https://oss.sonatype.org/#stagingRepositories
Search in search box for org.sackfix