-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.txt
41 lines (32 loc) · 920 Bytes
/
deployment.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
Release:
mvn release:prepare release:perform -Dgoals=install
Deploy to Maven Central:
Put parent-<version>.pom in working directory.
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=target/parent-<version>.pom -Dfile=parent-<version>.pom
User settings:
<settings>
<servers>
<server>
<id>ossrh</id>
<username>***</username>
<password>***</password>
</server>
</servers>
<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>***</gpg.passphrase> <!-- seems to be ignored -->
<gpg.keyname>***</gpg.keyname>
</properties>
</profile>
</profiles>
</settings>
Goto https://oss.sonatype.org/, close and release.