-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Relevant Versions:
mvn - 3.2.1
git - 2.7.4
m2release-plugin - 0.14.0
After upgrading from git 1.7 to 2.7, the M2 Release Plugin silently failed to upload released artifacts to a maven release repository. Instead, a snapshot was uploaded. A workaround is to force reliance on a more recent version of the the maven-release-plugin maven plugin. A better solution would be for this Jenkins plugin to use a newer version of the maven-release-plugin maven plugin.
The release options and goals in the Jenkins job that worked before the release were:
Release goals and options: -Dresume=false -Dmaven.javadoc.skip=true release:prepare release:perform DryRun goals and options: -Dresume=false -Dmaven.javadoc.skip=true -DdryRun=true release:prepare
The release options and goals that worked after the release were:
Release goals and options: -Dresume=false -Dmaven.javadoc.skip=true org.apache.maven.plugins:maven-release-plugin:2.5:prepare org.apache.maven.plugins:maven-release-plugin:2.5:perform DryRun goals and options: -Dresume=false -Dmaven.javadoc.skip=true -DdryRun=true org.apache.maven.plugins:maven-release-plugin:2.5:prepare
[JENKINS-38077] Silently Failing to Deploy Released Artifacts to Maven Repository
Description |
Original:
After upgrading from git 1.7 to 2.7, the M2 Release Plugin silently failed to upload released artifacts to a maven release repository. A workaround is to force reliance on a more recent version of the the maven-release-plugin maven plugin. A better solution would be for this Jenkins plugin to use a newer version of the maven-release-plugin maven plugin. The release options and goals in the Jenkins job that worked before the release were: {noformat} Release goals and options: -Dresume=false -Dmaven.javadoc.skip=true release:prepare release:perform DryRun goals and options: -Dresume=false -Dmaven.javadoc.skip=true -DdryRun=true release:prepare {noformat} The release options and goals that worked after the release were: {noformat} Release goals and options: -Dresume=false -Dmaven.javadoc.skip=true org.apache.maven.plugins:maven-release-plugin:2.5:prepare org.apache.maven.plugins:maven-release-plugin:2.5:perform DryRun goals and options: -Dresume=false -Dmaven.javadoc.skip=true -DdryRun=true org.apache.maven.plugins:maven-release-plugin:2.5:prepare {noformat} |
New:
After upgrading from git 1.7 to 2.7, the M2 Release Plugin silently failed to upload released artifacts to a maven release repository. Instead, a snapshot was uploaded. A workaround is to force reliance on a more recent version of the the maven-release-plugin maven plugin. A better solution would be for this Jenkins plugin to use a newer version of the maven-release-plugin maven plugin. The release options and goals in the Jenkins job that worked before the release were: {noformat} Release goals and options: -Dresume=false -Dmaven.javadoc.skip=true release:prepare release:perform DryRun goals and options: -Dresume=false -Dmaven.javadoc.skip=true -DdryRun=true release:prepare {noformat} The release options and goals that worked after the release were: {noformat} Release goals and options: -Dresume=false -Dmaven.javadoc.skip=true org.apache.maven.plugins:maven-release-plugin:2.5:prepare org.apache.maven.plugins:maven-release-plugin:2.5:perform DryRun goals and options: -Dresume=false -Dmaven.javadoc.skip=true -DdryRun=true org.apache.maven.plugins:maven-release-plugin:2.5:prepare {noformat} |
Assignee | Original: James Nord [ teilo ] |