File tree Expand file tree Collapse file tree 4 files changed +20
-41
lines changed
Expand file tree Collapse file tree 4 files changed +20
-41
lines changed Original file line number Diff line number Diff line change 3939 - name : Deploy to JavaWebStack Repository
4040 run : mvn deploy -B -DbuildVersion=${{ github.event.release.tag_name }} -s build/settings.xml -Dmaven.test.skip=true
4141 env :
42- DEPLOYMENT_USERNAME : ${{ secrets.DEPLOYMENT_USERNAME }}
43- DEPLOYMENT_PASSWORD : ${{ secrets.DEPLOYMENT_PASSWORD }}
42+ CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
43+ CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
4444 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
45- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
Original file line number Diff line number Diff line change 4040 - name : Deploy to JavaWebStack Repository
4141 run : mvn deploy -B -s build/settings.xml -Dmaven.test.skip=true
4242 env :
43- DEPLOYMENT_USERNAME : ${{ secrets.DEPLOYMENT_USERNAME }}
44- DEPLOYMENT_PASSWORD : ${{ secrets.DEPLOYMENT_PASSWORD }}
43+ CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
44+ CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
4545 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
46- OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
47- 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 >${env.OSSRH_USERNAME}</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 5454
5555 <repositories >
5656 <repository >
57- <id >ossrh </id >
58- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
57+ <id >central-snapshots </id >
58+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
5959 </repository >
6060 </repositories >
6161
6868 <dependency >
6969 <groupId >org.javawebstack</groupId >
7070 <artifactId >abstract-data</artifactId >
71- <version >1.0.6 </version >
71+ <version >1.0.7-SNAPSHOT </version >
7272 </dependency >
7373 <dependency >
7474 <groupId >org.atteo</groupId >
115115 <build >
116116 <plugins >
117117 <plugin >
118- <artifactId >maven-deploy-plugin</artifactId >
119- <version >3.0.0-M1</version >
120- <executions >
121- <execution >
122- <id >default-deploy</id >
123- <phase >deploy</phase >
124- <goals >
125- <goal >deploy</goal >
126- </goals >
127- </execution >
128- </executions >
118+ <groupId >org.sonatype.central</groupId >
119+ <artifactId >central-publishing-maven-plugin</artifactId >
120+ <version >0.9.0</version >
121+ <extensions >true</extensions >
122+ <configuration >
123+ <publishingServerId >central</publishingServerId >
124+ </configuration >
129125 </plugin >
130126 <plugin >
131127 <groupId >org.apache.maven.plugins</groupId >
170166 <goal >sign</goal >
171167 </goals >
172168 <configuration >
173- <keyname >6802C125C9069802B97A080910CE6063CEE9C47B </keyname >
169+ <keyname >EC9CCFF8901F0AA22191DCEDD619376246C066D0 </keyname >
174170 <passphraseServerId >gpg</passphraseServerId >
175171 <gpgArguments >
176172 <arg >--no-tty</arg >
186182
187183 <distributionManagement >
188184 <snapshotRepository >
189- <id >ossrh </id >
190- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
185+ <id >central </id >
186+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
191187 </snapshotRepository >
192- <repository >
193- <id >ossrh</id >
194- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
195- </repository >
196188 </distributionManagement >
197189
198190</project >
You can’t perform that action at this time.
0 commit comments