追加profiles信息

This commit is contained in:
彭宇琦 2020-12-24 11:36:50 +08:00
parent f0ac6e4026
commit b52ec1ca5b
1 changed files with 33 additions and 3 deletions

36
pom.xml
View File

@ -149,8 +149,12 @@
<!-- SCM信息 -> git在gitee上托管 --> <!-- SCM信息 -> git在gitee上托管 -->
<scm> <scm>
<url>https://gitee.com/pyqone/autest/tree/master</url> <tag>master</tag>
<connection>scm:git:https://gitee.com/pyqone/autest.git</connection>
<developerConnection>scm:git:https://gitee.com/pyqone/autest.git</developerConnection>
<url>https://gitee.com/pyqone/autest.git</url>
</scm> </scm>
<!-- 开发者信息 --> <!-- 开发者信息 -->
<developers> <developers>
<developer> <developer>
@ -212,13 +216,39 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles>
<profile>
<id>oss-pyq-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement> <distributionManagement>
<snapshotRepository> <snapshotRepository>
<id>ossrh</id> <id>oss-pyq-release</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url> <url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository> </snapshotRepository>
<repository> <repository>
<id>ossrh</id> <id>oss-pyq-release</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository> </repository>
</distributionManagement> </distributionManagement>