Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-19842

nxrm3-maven-plugin requires explicitly disabling the deploy plugin in order to work

Details

    • 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>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rseddon Rich Seddon
            Hardeep Nagra Hardeep Nagra
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              tigCommentSecurity.panel-title