File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - name : Deploy to JavaWebStack Repository
2424 run : mvn deploy -B -DbuildVersion=${{ github.event.release.tag_name }} -s build/settings.xml -Dmaven.test.skip=true
2525 env :
26- DEPLOYMENT_USERNAME : ${{ secrets.DEPLOYMENT_USERNAME }}
27- DEPLOYMENT_PASSWORD : ${{ secrets.DEPLOYMENT_PASSWORD }}
26+ CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
27+ CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
2828 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
29- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
Original file line number Diff line number Diff line change 2424 - name : Deploy to JavaWebStack Repository
2525 run : mvn deploy -B -s build/settings.xml -Dmaven.test.skip=true
2626 env :
27- DEPLOYMENT_USERNAME : ${{ secrets.DEPLOYMENT_USERNAME }}
28- DEPLOYMENT_PASSWORD : ${{ secrets.DEPLOYMENT_PASSWORD }}
27+ CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
28+ CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
2929 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
30- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
Original file line number Diff line number Diff line change 55>
66 <servers >
77 <server >
8- <id >javawebstack-snapshots</id >
9- <username >${env.DEPLOYMENT_USERNAME}</username >
10- <password >${env.DEPLOYMENT_PASSWORD}</password >
11- </server >
12- <server >
13- <id >javawebstack-releases</id >
14- <username >${env.DEPLOYMENT_USERNAME}</username >
15- <password >${env.DEPLOYMENT_PASSWORD}</password >
16- </server >
17- <server >
18- <id >ossrh</id >
19- <username >JavaWebStack</username >
20- <password >${env.OSSRH_PASSWORD}</password >
8+ <id >central</id >
9+ <username >${env.CENTRAL_USERNAME}</username >
10+ <password >${env.CENTRAL_PASSWORD}</password >
2111 </server >
2212 <server >
2313 <id >gpg</id >
Original file line number Diff line number Diff line change 4242
4343 <repositories >
4444 <repository >
45- <id >ossrh </id >
46- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
45+ <id >central-snapshots </id >
46+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
4747 </repository >
4848 </repositories >
4949
5050 <dependencies >
5151 <dependency >
5252 <groupId >org.javawebstack</groupId >
5353 <artifactId >abstract-data</artifactId >
54- <version >1.0.6 </version >
54+ <version >1.0.7-SNAPSHOT </version >
5555 </dependency >
5656 <dependency >
5757 <groupId >org.javawebstack</groupId >
114114 <build >
115115 <plugins >
116116 <plugin >
117- <artifactId >maven-deploy-plugin</artifactId >
118- <version >3.0.0-M1</version >
119- <executions >
120- <execution >
121- <id >default-deploy</id >
122- <phase >deploy</phase >
123- <goals >
124- <goal >deploy</goal >
125- </goals >
126- </execution >
127- </executions >
117+ <groupId >org.sonatype.central</groupId >
118+ <artifactId >central-publishing-maven-plugin</artifactId >
119+ <version >0.9.0</version >
120+ <extensions >true</extensions >
121+ <configuration >
122+ <publishingServerId >central</publishingServerId >
123+ </configuration >
128124 </plugin >
129125 <plugin >
130126 <groupId >org.apache.maven.plugins</groupId >
169165 <goal >sign</goal >
170166 </goals >
171167 <configuration >
172- <keyname >6802C125C9069802B97A080910CE6063CEE9C47B </keyname >
168+ <keyname >EC9CCFF8901F0AA22191DCEDD619376246C066D0 </keyname >
173169 <passphraseServerId >gpg</passphraseServerId >
174170 <gpgArguments >
175171 <arg >--no-tty</arg >
185181
186182 <distributionManagement >
187183 <snapshotRepository >
188- <id >ossrh </id >
189- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
184+ <id >central </id >
185+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
190186 </snapshotRepository >
191- <repository >
192- <id >ossrh</id >
193- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
194- </repository >
195187 </distributionManagement >
196188
197189</project >
You can’t perform that action at this time.
0 commit comments