Наш проект наследует плагин nexus staging maven от родительского pom, который мы не можем контролировать.У меня есть эта конфигурация в моем корневом pom для отключения плагина nexus staging maven, и эта конфигурация, кажется, отключает выполнение default-deploy.
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<executions>
<execution>
<id>default-deploy</id>
<phase>none</phase>
</execution>
</executions>
<configuration>
<serverId>nexus</serverId>
<nexusUrl>url</nexusUrl>
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</configuration>
</plugin>
, и у меня есть плагин maven deploy, определенный в моем корневом pom, ноплагин maven-deploy, кажется, не запускается
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
Я не могу понять, как я могу заменить унаследованный подключаемый модуль nexus staging maven плагином maven deploy.Любая помощь очень ценится