File tree Expand file tree Collapse file tree 2 files changed +9
-25
lines changed Expand file tree Collapse file tree 2 files changed +9
-25
lines changed Original file line number Diff line number Diff line change 23
23
with :
24
24
servers : >
25
25
[
26
- { "id": "sonatype ", "username": "${{ secrets.MAVEN_CENTRAL_TOKEN_USER }}", "password": "${{ secrets.MAVEN_CENTRAL_TOKEN_PASS }}" }
26
+ { "id": "central ", "username": "${{ secrets.MAVEN_CENTRAL_TOKEN_USER }}", "password": "${{ secrets.MAVEN_CENTRAL_TOKEN_PASS }}" }
27
27
]
28
28
29
29
-
run :
git config --global user.name phocasadmin; git config --global user.email [email protected]
Original file line number Diff line number Diff line change 37
37
</developer >
38
38
</developers >
39
39
40
- <distributionManagement >
41
- <snapshotRepository >
42
- <id >sonatype</id >
43
- <name >central snapshot</name >
44
- <url >https://s01.oss.sonatype.org/content/repositories/snapshots</url >
45
- </snapshotRepository >
46
- <repository >
47
- <id >sonatype</id >
48
- <name >central release</name >
49
- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
50
- </repository >
51
- </distributionManagement >
52
-
53
-
54
40
<licenses >
55
41
<license >
56
42
<name >Apache License, Version 2.0</name >
154
140
</executions >
155
141
</plugin >
156
142
<plugin >
157
- <groupId >org.sonatype.plugins</groupId >
158
- <artifactId >nexus-staging-maven-plugin</artifactId >
159
- <version >1.7.0</version >
160
- <extensions >true</extensions >
161
- <configuration >
162
- <serverId >sonatype</serverId >
163
- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
164
- <autoReleaseAfterClose >true</autoReleaseAfterClose >
165
- </configuration >
166
- </plugin >
143
+ <groupId >org.sonatype.central</groupId >
144
+ <artifactId >central-publishing-maven-plugin</artifactId >
145
+ <version >0.7.0</version >
146
+ <extensions >true</extensions >
147
+ <configuration >
148
+ <publishingServerId >central</publishingServerId >
149
+ </configuration >
150
+ </plugin >
167
151
</plugins >
168
152
</build >
169
153
</profile >
You can’t perform that action at this time.
0 commit comments