File tree Expand file tree Collapse file tree 10 files changed +18
-15
lines changed
ingester-prometheus-metrics Expand file tree Collapse file tree 10 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ jobs:
27
27
with :
28
28
java-version : ' 8'
29
29
distribution : ' zulu'
30
- server-id : ossrh
30
+ server-id : central
31
31
server-username : MAVEN_USERNAME
32
- server-password : MAVEN_PASSWORD
32
+ server-password : MAVEN_CENTRAL_TOKEN
33
33
gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
34
34
gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
35
35
36
36
- name : Build with Maven
37
37
run : mvn clean deploy --batch-mode -DskipTests -P release -B -U -e
38
38
env :
39
39
MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
40
- MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
40
+ MAVEN_CENTRAL_TOKEN : ${{ secrets.MAVEN_CENTRAL_TOKEN }}
41
41
MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change 25
25
</parent >
26
26
27
27
<artifactId >ingester-all</artifactId >
28
+ <name >${project.groupId} :${project.artifactId} </name >
28
29
29
30
<dependencies >
30
31
<dependency >
Original file line number Diff line number Diff line change 25
25
</parent >
26
26
27
27
<artifactId >ingester-bulk-protocol</artifactId >
28
+ <name >${project.groupId} :${project.artifactId} </name >
28
29
29
30
<properties >
30
31
<arrow .flight.version>14.0.2</arrow .flight.version>
Original file line number Diff line number Diff line change 25
25
</parent >
26
26
27
27
<artifactId >ingester-common</artifactId >
28
+ <name >${project.groupId} :${project.artifactId} </name >
28
29
29
30
<properties >
30
31
<metrics .version>4.2.11</metrics .version>
Original file line number Diff line number Diff line change 25
25
</parent >
26
26
27
27
<artifactId >ingester-example</artifactId >
28
+ <name >${project.groupId} :${project.artifactId} </name >
28
29
29
30
<dependencies >
30
31
<dependency >
Original file line number Diff line number Diff line change 25
25
</parent >
26
26
27
27
<artifactId >ingester-grpc</artifactId >
28
+ <name >${project.groupId} :${project.artifactId} </name >
28
29
29
30
<properties >
30
31
<io .grpc.version>1.56.1</io .grpc.version>
Original file line number Diff line number Diff line change 24
24
<version >0.15.0</version >
25
25
</parent >
26
26
<artifactId >ingester-prometheus-metrics</artifactId >
27
+ <name >${project.groupId} :${project.artifactId} </name >
27
28
28
29
<properties >
29
30
<prometheus .version>0.16.0</prometheus .version>
Original file line number Diff line number Diff line change 25
25
</parent >
26
26
27
27
<artifactId >ingester-protocol</artifactId >
28
+ <name >${project.groupId} :${project.artifactId} </name >
28
29
29
30
<properties >
30
31
<greptimedb .proto.version>0.9.0</greptimedb .proto.version>
Original file line number Diff line number Diff line change 25
25
</parent >
26
26
27
27
<artifactId >ingester-rpc</artifactId >
28
+ <name >${project.groupId} :${project.artifactId} </name >
28
29
29
30
<dependencies >
30
31
<dependency >
Original file line number Diff line number Diff line change 63
63
64
64
<distributionManagement >
65
65
<repository >
66
- <id >ossrh </id >
67
- <url >https://ossrh-staging-api. central.sonatype.com/service/local/staging/deploy/maven2/ </url >
66
+ <id >central </id >
67
+ <url >https://central.sonatype.com/api/v1/publisher/deployments </url >
68
68
</repository >
69
- <snapshotRepository >
70
- <id >ossrh</id >
71
- <url >https://central.sonatype.com/repository/maven-snapshots/</url >
72
- </snapshotRepository >
73
69
</distributionManagement >
74
70
75
71
<properties >
284
280
<build >
285
281
<plugins >
286
282
<plugin >
287
- <groupId >org.sonatype.plugins </groupId >
288
- <artifactId >nexus-staging -maven-plugin</artifactId >
289
- <version >${nexus-staging-maven-plugin.version} </version >
283
+ <groupId >org.sonatype.central </groupId >
284
+ <artifactId >central-publishing -maven-plugin</artifactId >
285
+ <version >0.4.0 </version >
290
286
<extensions >true</extensions >
291
287
<configuration >
292
- <serverId >ossrh</serverId >
293
- <nexusUrl >https://ossrh-staging-api.central.sonatype.com/</nexusUrl >
294
- <autoReleaseAfterClose >true</autoReleaseAfterClose >
288
+ <publishingServerId >central</publishingServerId >
289
+ <tokenAuth >true</tokenAuth >
295
290
</configuration >
296
291
</plugin >
297
292
<plugin >
You can’t perform that action at this time.
0 commit comments