|
12 | 12 | <maven.compiler.source>23</maven.compiler.source> |
13 | 13 | <maven.compiler.target>23</maven.compiler.target> |
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + <sonatype-central-publishing.version>0.8.0</sonatype-central-publishing.version> |
15 | 16 | </properties> |
16 | 17 |
|
| 18 | + <packaging>jar</packaging> |
| 19 | + |
17 | 20 | <name>Java Does USB</name> |
18 | 21 | <url>https://github.com/manuelbl/JavaDoesUSB</url> |
19 | 22 | <description>Access USB devices from Java without additional libraries</description> |
|
38 | 41 | <url>https://github.com/manuelbl/JavaDoesUSB</url> |
39 | 42 | </scm> |
40 | 43 |
|
41 | | - <distributionManagement> |
42 | | - <snapshotRepository> |
43 | | - <id>ossrh</id> |
44 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
45 | | - </snapshotRepository> |
46 | | - <repository> |
47 | | - <id>ossrh</id> |
48 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
49 | | - </repository> |
50 | | - </distributionManagement> |
51 | | - |
52 | 44 | <build> |
53 | 45 | <plugins> |
54 | 46 | <plugin> |
|
197 | 189 | </execution> |
198 | 190 | </executions> |
199 | 191 | </plugin> |
| 192 | + <plugin> |
| 193 | + <groupId>org.sonatype.central</groupId> |
| 194 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 195 | + <version>${sonatype-central-publishing.version}</version> |
| 196 | + <extensions>true</extensions> |
| 197 | + <configuration> |
| 198 | + <publishingServerId>central</publishingServerId> |
| 199 | + <autoPublish>true</autoPublish> |
| 200 | + </configuration> |
| 201 | + </plugin> |
200 | 202 | </plugins> |
201 | 203 |
|
202 | 204 | <pluginManagement> |
203 | 205 | <plugins> |
204 | | - <plugin> |
205 | | - <groupId>org.sonatype.plugins</groupId> |
206 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
207 | | - <version>1.6.13</version> |
208 | | - <extensions>true</extensions> |
209 | | - <configuration> |
210 | | - <serverId>ossrh</serverId> |
211 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
212 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
213 | | - </configuration> |
214 | | - </plugin> |
215 | | - |
216 | 206 | <plugin> |
217 | 207 | <groupId>net.codecrete.windows-api</groupId> |
218 | 208 | <artifactId>windowsapi-maven-plugin</artifactId> |
|
0 commit comments