forked from swissquote/carnotzet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy-central.sh
executable file
·93 lines (80 loc) · 3.09 KB
/
deploy-central.sh
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/usr/bin/env bash
VERSION=1.8.1
# parent pom
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=pom.xml \
-Dfile=pom.xml
# core
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=core/pom.xml \
-Dfile=core/target/carnotzet-core-$VERSION.jar
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=core/pom.xml \
-Dfile=core/target/carnotzet-core-$VERSION-javadoc.jar \
-Dclassifier=javadoc
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=core/pom.xml \
-Dfile=core/target/carnotzet-core-$VERSION-sources.jar \
-Dclassifier=sources
# file-merger-json
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=file-merger-json/pom.xml \
-Dfile=file-merger-json/target/carnotzet-file-merger-json-$VERSION.jar
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=file-merger-json/pom.xml \
-Dfile=file-merger-json/target/carnotzet-file-merger-json-$VERSION-javadoc.jar \
-Dclassifier=javadoc
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=file-merger-json/pom.xml \
-Dfile=file-merger-json/target/carnotzet-file-merger-json-$VERSION-sources.jar \
-Dclassifier=sources
# docker-compose
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=docker-compose/pom.xml \
-Dfile=docker-compose/target/carnotzet-orchestrator-docker-compose-$VERSION.jar
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=docker-compose/pom.xml \
-Dfile=docker-compose/target/carnotzet-orchestrator-docker-compose-$VERSION-javadoc.jar \
-Dclassifier=javadoc
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=docker-compose/pom.xml \
-Dfile=docker-compose/target/carnotzet-orchestrator-docker-compose-$VERSION-sources.jar \
-Dclassifier=sources
# maven plugin
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=maven-plugin/pom.xml \
-Dfile=maven-plugin/target/zet-maven-plugin-$VERSION.jar
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=maven-plugin/pom.xml \
-Dfile=maven-plugin/target/zet-maven-plugin-$VERSION-javadoc.jar \
-Dclassifier=javadoc
mvn gpg:sign-and-deploy-file \
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \
-DrepositoryId=ossrh \
-DpomFile=maven-plugin/pom.xml \
-Dfile=maven-plugin/target/zet-maven-plugin-$VERSION-sources.jar \
-Dclassifier=sources