-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDEVELOPERS
45 lines (37 loc) · 1.28 KB
/
DEVELOPERS
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
I have set up my account to be able to deply to Maven Sonatype.
Deploy snapshot artifacts into repository https://oss.sonatype.org/content/repositories/snapshots
Deploy release artifacts into the staging repository https://oss.sonatype.org/service/local/staging/deploy/maven2
Download snapshot and release artifacts from group https://oss.sonatype.org/content/groups/public
Download snapshot, release and staged artifacts from staging group https://oss.sonatype.org/content/groups/staging
Usage guide at https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
SNAPSHOT: mvn deploy
Stage:
Clean build, then use the stage script
Need to have ~/.m2/settings.xml with:
<settings>
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>uname</username>
<password>----</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>uname</username>
<password>----</password>
</server>
</servers>
<profiles>
<profile>
<id>gpg</id>
<properties>
<gpg.passphrase>----</gpg.passphrase>
</properties>
</profile>
</profiles>
</settings>
You then go to https://oss.sonatype.org/index.html#stagingRepositories
- Select the profile
- Close
- Select the profile
- Release