File tree Expand file tree Collapse file tree 5 files changed +21
-27
lines changed
couchbase-analytics-java-client Expand file tree Collapse file tree 5 files changed +21
-27
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
paths-ignore :
11
+ - ' README.md'
11
12
- ' */fit/**'
12
13
- ' */examples/**'
13
14
- ' .github/workflows/**'
Original file line number Diff line number Diff line change @@ -16,11 +16,16 @@ JVM clients for Couchbase Enterprise Analytics
16
16
17
17
``` xml
18
18
<repositories >
19
- <repository >
20
- <id >sonatype-snapshots</id >
21
- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
22
- <releases ><enabled >false</enabled ></releases >
23
- <snapshots ><enabled >true</enabled ></snapshots >
24
- </repository >
19
+ <repository >
20
+ <name >Central Portal Snapshots</name >
21
+ <id >central-portal-snapshots</id >
22
+ <url >https://central.sonatype.com/repository/maven-snapshots/</url >
23
+ <releases >
24
+ <enabled >false</enabled >
25
+ </releases >
26
+ <snapshots >
27
+ <enabled >true</enabled >
28
+ </snapshots >
29
+ </repository >
25
30
</repositories >
26
31
```
Original file line number Diff line number Diff line change 94
94
<artifactId >maven-gpg-plugin</artifactId >
95
95
</plugin >
96
96
<plugin >
97
- <groupId >org.sonatype.plugins </groupId >
98
- <artifactId >nexus-staging -maven-plugin</artifactId >
97
+ <groupId >org.sonatype.central </groupId >
98
+ <artifactId >central-publishing -maven-plugin</artifactId >
99
99
</plugin >
100
100
</plugins >
101
101
</build >
Original file line number Diff line number Diff line change 3
3
<settings >
4
4
<servers >
5
5
<server >
6
- <id >ossrh </id >
6
+ <id >central </id >
7
7
<username >${env.MAVEN_USERNAME}</username >
8
8
<password >${env.MAVEN_PASSWORD}</password >
9
9
</server >
Original file line number Diff line number Diff line change 34
34
<!-- <module>couchbase-analytics-java-client/fit</module>-->
35
35
</modules >
36
36
37
- <distributionManagement >
38
- <snapshotRepository >
39
- <id >ossrh</id >
40
- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
41
- </snapshotRepository >
42
- <repository >
43
- <id >ossrh</id >
44
- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
45
- </repository >
46
- </distributionManagement >
47
-
48
37
<developers >
49
38
<developer >
50
39
<id >dnault</id >
199
188
</executions >
200
189
</plugin >
201
190
<plugin >
202
- <groupId >org.sonatype.plugins </groupId >
203
- <artifactId >nexus-staging -maven-plugin</artifactId >
204
- <version >1 .7.0</version >
191
+ <groupId >org.sonatype.central </groupId >
192
+ <artifactId >central-publishing -maven-plugin</artifactId >
193
+ <version >0 .7.0</version >
205
194
<extensions >true</extensions >
206
195
<configuration >
207
- <serverId >ossrh</serverId >
208
- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
209
- <autoReleaseAfterClose >${autoReleaseAfterClose} </autoReleaseAfterClose >
196
+ <autoPublish >true</autoPublish >
197
+ <waitUntil >published</waitUntil >
210
198
</configuration >
211
199
</plugin >
212
200
<plugin >
228
216
</plugin >
229
217
230
218
<!-- Don't deploy the parent POM.
231
- Submodules opt into publication by declaring nexus-staging -maven-plugin. -->
219
+ Submodules opt into publication by declaring central-publishing -maven-plugin. -->
232
220
<plugin >
233
221
<groupId >org.apache.maven.plugins</groupId >
234
222
<artifactId >maven-deploy-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments