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

Staging plugin seems to ignore "altReleaseDeploymentRepository"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Parked
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: staging-maven-plugin
    • Labels:
    • Environment:
      Plugin version 1.6.8
      OpenJDK 11
      Maven 3.5.4

      Description

      Using the staging plugin with `-DskipLocalStaging=true` and using an alternate deployment repository with `altDeploymentRepository`, the plugin still picks up the repository from the `<distributionManagement>` element.

      Looking at the source code of the deployment plugin it looks like the logic of using the `altDeploymentRepository` setting is actually part of the deployment plugin and not part of core maven (the DefaultProject implementation):

      https://github.com/apache/maven-deploy-plugin/blob/master/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java#L156

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ctron Jens Reimann
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title