|
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
6 |
| - |
| 6 | + <name>SWCJ-core</name> |
| 7 | + <description> |
| 8 | + link: china:https://blog.midreamsheep.live/2022/11/11/SWCJ/ |
| 9 | + english:https://blog.midreamsheep.live/2022/11/11/english/SWCJ/SWCJ/ |
| 10 | + </description> |
7 | 11 | <groupId>live.midreamsheep.swcj</groupId>
|
8 | 12 | <artifactId>SWCJ-core</artifactId>
|
9 |
| - <version>1.0-SNAPSHOT</version> |
| 13 | + <version>1.0.0</version> |
10 | 14 |
|
11 | 15 | <!--项目url-->
|
12 | 16 | <url>https://github.com/microDreamSheep/SWCJ</url>
|
|
81 | 85 | </plugin>
|
82 | 86 | </plugins>
|
83 | 87 | </build>
|
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
84 | 95 | <profiles>
|
85 | 96 | <profile>
|
86 | 97 | <id>release</id>
|
87 | 98 | <build>
|
88 | 99 | <plugins>
|
89 |
| - |
90 | 100 | <!-- Source -->
|
91 | 101 | <plugin>
|
92 | 102 | <groupId>org.apache.maven.plugins</groupId>
|
|
129 | 139 | </executions>
|
130 | 140 | </plugin>
|
131 | 141 | <plugin>
|
132 |
| - <groupId>org.sonatype.plugins</groupId> |
133 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
134 |
| - <version>1.6.7</version> |
135 |
| - <extensions>true</extensions> |
| 142 | + <groupId>org.apache.maven.plugins</groupId> |
| 143 | + <artifactId>maven-release-plugin</artifactId> |
| 144 | + <version>2.5.3</version> |
136 | 145 | <configuration>
|
137 |
| - <serverId>ossrh</serverId> |
138 |
| - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
139 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 146 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 147 | + <useReleaseProfile>false</useReleaseProfile> |
| 148 | + <releaseProfiles>release</releaseProfiles> |
| 149 | + <goals>deploy</goals> |
140 | 150 | </configuration>
|
141 | 151 | </plugin>
|
142 | 152 | <!-- Gpg Signature -->
|
|
147 | 157 | <executions>
|
148 | 158 | <execution>
|
149 | 159 | <!-- id 与 setting.xml 的 gpg 配置中的 id 对应-->
|
150 |
| - <id>ossrh</id> |
| 160 | + <id>release</id> |
151 | 161 | <phase>verify</phase>
|
152 | 162 | <goals>
|
153 | 163 | <goal>sign</goal>
|
|
160 | 170 | </build>
|
161 | 171 | <distributionManagement>
|
162 | 172 | <snapshotRepository>
|
163 |
| - <id>ossrh</id> |
| 173 | + <id>release</id> |
164 | 174 | <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
|
165 | 175 | </snapshotRepository>
|
166 | 176 | <repository>
|
167 |
| - <id>ossrh</id> |
| 177 | + <id>release</id> |
168 | 178 | <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
169 | 179 | </repository>
|
170 | 180 | </distributionManagement>
|
|
0 commit comments