-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdeploy_howto.txt
48 lines (29 loc) · 912 Bytes
/
deploy_howto.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
To deploy artifacts to OSS sonatype Nexus
=========================================
Main guide : http://central.sonatype.org/pages/ossrh-guide.html
Maven configuration : http://central.sonatype.org/pages/apache-maven.html
Nexus : https://oss.sonatype.org
build
-----
$ mvn clean install
deploy (snaphots)
-----------------
$ mvn clean deploy
The artifact will be uploaded to : https://oss.sonatype.org/content/repositories/snapshots/org/jvnet/jaxb2_commons/
Note: you need to store your sonatype credentials in ~/.m2/settings.xml :
<server>
<id>ossrh</id>
<username>...</username>
<password>...</password>
</server>
deploy (release)
-----------------
$ mvn clean deploy -P release
inspect release
---------------
http://central.sonatype.org/pages/releasing-the-deployment.html
promote release
---------------
$ mvn nexus-staging:release
ou
$ mvn nexus-staging:drop