Skip to content

Commit b0964ef

Browse files
committed
Update pom.xml
1 parent edffd13 commit b0964ef

File tree

1 file changed

+38
-24
lines changed

1 file changed

+38
-24
lines changed

pom.xml

+38-24
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@
3333
<tag>HEAD</tag>
3434
</scm>
3535

36-
<distributionManagement>
37-
<repository>
38-
<id>ossrh</id>
39-
<url>https://m2.unidevel.cn/releases</url>
40-
</repository>
41-
<snapshotRepository>
42-
<id>ossrh</id>
43-
<url>https://m2.unidevel.cn/snapshots</url>
44-
</snapshotRepository>
45-
</distributionManagement>
46-
47-
4836
<properties>
4937
<air.main.basedir>${project.basedir}</air.main.basedir>
5038

@@ -226,6 +214,17 @@
226214
<module>presto-function-server</module>
227215
</modules>
228216

217+
<distributionManagement>
218+
<repository>
219+
<id>ossrh</id>
220+
<url>https://m2.unidevel.cn/releases</url>
221+
</repository>
222+
<snapshotRepository>
223+
<id>ossrh</id>
224+
<url>https://m2.unidevel.cn/snapshots</url>
225+
</snapshotRepository>
226+
</distributionManagement>
227+
229228
<dependencyManagement>
230229
<dependencies>
231230
<dependency>
@@ -2668,15 +2667,18 @@
26682667
</configuration>
26692668
</plugin>
26702669

2671-
<!-- plugin>
2670+
<plugin>
26722671
<groupId>org.sonatype.plugins</groupId>
26732672
<artifactId>nexus-staging-maven-plugin</artifactId>
26742673
<version>${dep.nexus-staging-plugin.version}</version>
2674+
<!-- This plugin is not registered as an extension because it will fail to activate
2675+
concurrently with the Maven Provisio plugin, as that has its own deployment lifecycle -->
26752676
<configuration>
2676-
<serverId>ossrh</serverId>
2677-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
2677+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
2678+
<!-- serverId>ossrh</serverId>
2679+
<nexusUrl>https://oss.sonatype.org/</nexusUrl -->
26782680
</configuration>
2679-
</plugin -->
2681+
</plugin>
26802682

26812683
<plugin>
26822684
<groupId>com.facebook.presto</groupId>
@@ -2878,19 +2880,31 @@
28782880
<plugin>
28792881
<groupId>org.apache.maven.plugins</groupId>
28802882
<artifactId>maven-deploy-plugin</artifactId>
2881-
<!-- configuration>
2883+
<configuration>
28822884
<skip>false</skip>
2883-
<altDeploymentRepository>ossrh::https://m2.unidevel.cn/releases</altDeploymentRepository>
2884-
</configuration -->
2885+
<altDeploymentRepository>releases::https://m2.unidevel.cn/releases</altDeploymentRepository>
2886+
</configuration>
28852887
</plugin>
2886-
<!-- plugin>
2888+
<plugin>
28872889
<groupId>org.sonatype.plugins</groupId>
28882890
<artifactId>nexus-staging-maven-plugin</artifactId>
2891+
<!-- This plugin must be configured manually ("Maven 2" style in the docs) due to the usage of the
2892+
Maven Provisio plugin, which includes its own deployment lifecycle -->
2893+
<!-- executions>
2894+
<execution>
2895+
<id>default-deploy</id>
2896+
<phase>deploy</phase>
2897+
<goals>
2898+
<goal>deploy</goal>
2899+
</goals>
2900+
</execution>
2901+
</executions -->
28892902
<configuration>
2890-
<serverId>ossrh</serverId>
2891-
<nexusUrl>https://m2.unidevel.cn/releases</nexusUrl>
2903+
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
2904+
<!-- serverId>ossrh</serverId>
2905+
<nexusUrl>https://oss.sonatype.org/</nexusUrl -->
28922906
</configuration>
2893-
</plugin-->
2907+
</plugin>
28942908
<plugin>
28952909
<groupId>org.apache.maven.plugins</groupId>
28962910
<artifactId>maven-gpg-plugin</artifactId>
@@ -3006,4 +3020,4 @@
30063020
</build>
30073021
</profile>
30083022
</profiles>
3009-
</project>
3023+
</project>

0 commit comments

Comments
 (0)