update pom

This commit is contained in:
oppofind 2020-12-06 15:45:02 +08:00
parent 5478f2fa59
commit e10cb893ae
1 changed files with 33 additions and 12 deletions

45
pom.xml
View File

@ -138,16 +138,37 @@
</plugins> </plugins>
<finalName>smart-doc</finalName> <finalName>smart-doc</finalName>
</build> </build>
<distributionManagement> <profiles>
<repository> <profile>
<id>local-release</id> <id>release</id>
<name>Nexus Release Repository</name> <build>
<url>http://localhost:8081/nexus/content/repositories/releases/</url> <plugins>
</repository> <plugin>
<snapshotRepository> <groupId>org.apache.maven.plugins</groupId>
<id>local-release</id> <artifactId>maven-gpg-plugin</artifactId>
<name>Nexus Snapshot Repository</name> <version>1.6</version>
<url>http://localhost:8081/nexus/content/repositories/snapshots/</url> <executions>
</snapshotRepository> <execution>
</distributionManagement> <id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project> </project>