|
7 | 7 | <groupId>io.github.dreamvoid</groupId> |
8 | 8 | <artifactId>MiraiMC</artifactId> |
9 | 9 | <packaging>pom</packaging> |
10 | | - <version>1.9</version> |
| 10 | + <version>1.9.1</version> |
11 | 11 | <modules> |
12 | 12 | <module>MiraiMC-Base</module> |
13 | 13 | <module>MiraiMC-Bukkit</module> |
|
44 | 44 | <url>https://github.com/DreamVoid/MiraiMC</url> |
45 | 45 | </scm> |
46 | 46 |
|
47 | | - <distributionManagement> |
48 | | - <snapshotRepository> |
49 | | - <id>ossrh</id> |
50 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
51 | | - </snapshotRepository> |
52 | | - <repository> |
53 | | - <id>ossrh</id> |
54 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
55 | | - </repository> |
56 | | - </distributionManagement> |
57 | | - |
58 | 47 | <properties> |
59 | 48 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
60 | 49 | <maven.compiler.source>8</maven.compiler.source> |
|
96 | 85 | </configuration> |
97 | 86 | </plugin> |
98 | 87 | <!--以下Maven中央仓库发布用--> |
99 | | - <plugin> |
100 | | - <groupId>org.sonatype.plugins</groupId> |
101 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
102 | | - <version>1.7.0</version> |
103 | | - <extensions>true</extensions> |
104 | | - <configuration> |
105 | | - <serverId>ossrh</serverId> |
106 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
107 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
108 | | - </configuration> |
109 | | - </plugin> |
110 | 88 | <plugin> |
111 | 89 | <groupId>org.apache.maven.plugins</groupId> |
112 | 90 | <artifactId>maven-source-plugin</artifactId> |
|
182 | 160 | </execution> |
183 | 161 | </executions> |
184 | 162 | </plugin> |
| 163 | + <plugin> |
| 164 | + <groupId>org.sonatype.central</groupId> |
| 165 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 166 | + <version>0.8.0</version> |
| 167 | + <extensions>true</extensions> |
| 168 | + <configuration> |
| 169 | + <publishingServerId>central</publishingServerId> |
| 170 | + <autoPublish>true</autoPublish> |
| 171 | + <excludeArtifacts>MiraiMC-Base</excludeArtifacts> |
| 172 | + </configuration> |
| 173 | + </plugin> |
185 | 174 | </plugins> |
186 | 175 |
|
187 | 176 | <resources> |
|
0 commit comments