|
46 | 46 | <url>https://github.com/extism/java-sdk/issues</url> |
47 | 47 | </issueManagement> |
48 | 48 |
|
49 | | - <distributionManagement> |
50 | | - <repository> |
51 | | - <id>ossrh</id> |
52 | | - <name>Central Repository OSSRH</name> |
53 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
54 | | - </repository> |
55 | | - </distributionManagement> |
56 | | - |
57 | 49 | <properties> |
58 | 50 | <java.version>11</java.version> |
59 | 51 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
75 | 67 | <profiles> |
76 | 68 | <profile> |
77 | 69 | <id>release</id> |
78 | | - <distributionManagement> |
79 | | - <snapshotRepository> |
80 | | - <id>ossrh</id> |
81 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
82 | | - </snapshotRepository> |
83 | | - </distributionManagement> |
84 | 70 |
|
85 | 71 | <build> |
86 | 72 | <plugins> |
|
128 | 114 | </executions> |
129 | 115 | </plugin> |
130 | 116 | <plugin> |
131 | | - <groupId>org.sonatype.plugins</groupId> |
132 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 117 | + <groupId>org.sonatype.central</groupId> |
| 118 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 119 | + <version>0.7.0</version> |
133 | 120 | <extensions>true</extensions> |
134 | 121 | <configuration> |
135 | | - <serverId>ossrh</serverId> |
136 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
137 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 122 | + <publishingServerId>central</publishingServerId> |
| 123 | + <autoPublish>true</autoPublish> |
| 124 | + <waitUntil>published</waitUntil> |
138 | 125 | </configuration> |
139 | 126 | </plugin> |
140 | 127 | </plugins> |
|
145 | 132 | <build> |
146 | 133 | <plugins> |
147 | 134 | <plugin> |
148 | | - <groupId>org.sonatype.plugins</groupId> |
149 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
150 | | - <version>1.7.0</version> |
| 135 | + <groupId>org.sonatype.central</groupId> |
| 136 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 137 | + <version>0.7.0</version> |
151 | 138 | <extensions>true</extensions> |
152 | 139 | <configuration> |
153 | | - <serverId>ossrh</serverId> |
154 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 140 | + <publishingServerId>central</publishingServerId> |
| 141 | + <autoPublish>true</autoPublish> |
| 142 | + <waitUntil>published</waitUntil> |
155 | 143 | </configuration> |
156 | 144 | </plugin> |
157 | 145 | <plugin> |
|
0 commit comments