Skip to content

[JENKINS-47411] Release options ignored later on the build #138

@jenkins-infra-bot

Description

@jenkins-infra-bot

Using the following goals and options:

release:prepare release:perform -Dmaven.deploy.skip=true

Still have the build attempt a deployment.

See important parts of the output:
Executing Maven: -B -f D:\.jenkins\workspace\RF20000 Werewolf Manager\pom.xml -DdevelopmentVersion=1.2-SNAPSHOT -DreleaseVersion=1.1 -Dusername=ortizj release:prepare release:perform -Dmaven.deploy.skip=true -Dpassword=*********

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project RF20000-Manager-parent: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]

It is not configured on purpose but seems the options are not propagated thru all the process.


Originally reported by javydreamercsw, imported from: Release options ignored later on the build
  • status: Open
  • priority: Minor
  • component(s): release-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251223-222157
Raw content of original issue

Using the following goals and options:

release:prepare release:perform -Dmaven.deploy.skip=true

Still have the build attempt a deployment.

See important parts of the output: Executing Maven: -B -f D:\.jenkins\workspace\RF20000 Werewolf Manager\pom.xml -DdevelopmentVersion=1.2-SNAPSHOT -DreleaseVersion=1.1 -Dusername=ortizj release:prepare release:perform -Dmaven.deploy.skip=true -Dpassword=*********

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project RF20000-Manager-parent: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]

It is not configured on purpose but seems the options are not propagated thru all the process.

  • environment: Windows 7 Server

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions