Skip to content

Commit 2090796

Browse files
committed
[Update] 添加sign和deploy插件;
1 parent 9b87f32 commit 2090796

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,31 @@
157157
</execution>
158158
</executions>
159159
</plugin>
160+
<plugin>
161+
<groupId>org.apache.maven.plugins</groupId>
162+
<artifactId>maven-gpg-plugin</artifactId>
163+
<version>1.6</version>
164+
<executions>
165+
<execution>
166+
<id>sign-artifacts</id>
167+
<phase>verify</phase>
168+
<goals>
169+
<goal>sign</goal>
170+
</goals>
171+
</execution>
172+
</executions>
173+
</plugin>
174+
<plugin>
175+
<groupId>org.sonatype.plugins</groupId>
176+
<artifactId>nexus-staging-maven-plugin</artifactId>
177+
<version>1.6.8</version>
178+
<extensions>true</extensions>
179+
<configuration>
180+
<serverId>ossrh</serverId>
181+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
182+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
183+
</configuration>
184+
</plugin>
160185
</plugins>
161186
</build>
162187
</project>

0 commit comments

Comments
 (0)