Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
nxrm3-maven-plugin-1.0.2
-
2
-
n/a
Description
In order to make the nxrm3-maven-plugin plugin work, you need to explicitly disable the deploy plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
This shouldn't be necessary, the nxrm2 staging plugin automatically takes over the deploy in Maven 3 builds, there was no need to have the above configuration.
The configuration where this was observed was:
<plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nxrm3-maven-plugin</artifactId> <version>${project.version}</version> <extensions>true</extensions> <configuration> <nexusUrl>http://localhost:8081</nexusUrl> <serverId>nexus</serverId> <repository>maven-releases</repository> <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> <sourceRepository>maven-releases</sourceRepository> <destinationRepository>final-releases<destinationRepository/> </configuration> </plugin>