File tree Expand file tree Collapse file tree 2 files changed +22
-14
lines changed
Expand file tree Collapse file tree 2 files changed +22
-14
lines changed Original file line number Diff line number Diff line change 1+ # Releasing tmdb-java to Maven Central
2+
3+ ## Local testing
4+
5+ ``` bash
6+ ./mwnw clean install -P release,heyuwe-sign
7+ ```
8+
9+ ## Preparing a release and deploying it to Maven Central
10+
11+ ``` bash
12+ ./mvnw release:prepare
13+
14+ ./mvnw release:perform
15+ ```
Original file line number Diff line number Diff line change 9494 </dependency >
9595 </dependencies >
9696
97- <distributionManagement >
98- <snapshotRepository >
99- <id >ossrh</id >
100- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
101- </snapshotRepository >
102- </distributionManagement >
103-
10497 <build >
10598 <plugins >
10699 <plugin >
146139 <arguments >-Dmaven.test.skip=true</arguments >
147140 <localCheckout >true</localCheckout >
148141 <pushChanges >false</pushChanges >
149- <releaseProfiles >release</releaseProfiles >
142+ <releaseProfiles >release,heyuwe-sign </releaseProfiles >
150143 <tagNameFormat >v@{project.version}</tagNameFormat >
151144 </configuration >
152145 </plugin >
162155 <version >2.18.0</version >
163156 </plugin >
164157 <plugin >
165- <groupId >org.sonatype.plugins </groupId >
166- <artifactId >nexus-staging -maven-plugin</artifactId >
167- <version >1.7 .0</version >
158+ <groupId >org.sonatype.central </groupId >
159+ <artifactId >central-publishing -maven-plugin</artifactId >
160+ <version >0.8 .0</version >
168161 <extensions >true</extensions >
169162 <configuration >
170- <serverId >ossrh</ serverId >
171- <nexusUrl >https://oss.sonatype.org/</ nexusUrl >
172- <autoReleaseAfterClose >true</ autoReleaseAfterClose >
163+ <publishingServerId >uwe-central</ publishingServerId >
164+ <autoPublish >true</ autoPublish >
165+ <waitUntil >published</ waitUntil >
173166 </configuration >
174167 </plugin >
175168 </plugins >
You can’t perform that action at this time.
0 commit comments