Unable to perform release

67 views
Skip to first unread message

Martin Weber

unread,
Apr 3, 2017, 2:14:45 PM4/3/17
to jenkin...@googlegroups.com
Hi all,

mvn release:prepare release:perform

downloads maven-hpi-plugin, but then complains about non-existing pom.

Did some encounter the sam issue yet who can help?

Console output:

mvn release:prepare release:perform
[INFO] Scanning for projects...
Downloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/tools/maven-hpi-plugin/1.117/maven-hpi-plugin-1.117.pom
Downloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/tools/maven-hpi-plugin/1.117/maven-hpi-plugin-1.117.pom (13 KB at 25.8 KB/sec)
Downloading: http://repo.jenkins-ci.org/public/org/jenkins-ci/tools/maven-hpi-plugin/1.117/maven-hpi-plugin-1.117.jar
Downloaded: http://repo.jenkins-ci.org/public/org/jenkins-ci/tools/maven-hpi-plugin/1.117/maven-hpi-plugin-1.117.jar (138 KB at 177.5 KB/sec)
...
[INFO] Transforming 'CMake plugin'...
Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-hpi-plugin/1.117/maven-hpi-plugin-1.117.pom
[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.117 is missing, no dependency information available
Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-hpi-plugin/1.117/maven-hpi-plugin-1.117.jar
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project cmakebuilder: Execution default-cli of goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare failed: Failed to build parent project for org.jenkins-ci.plugins:cmakebuilder:hpi:2.4.5-SNAPSHOT: Some problems were encountered while processing the POMs:
[ERROR] [ERROR] Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:1.117 or one of its dependencies could not be resolved: Could not find artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:1.117 in central (http://repo.maven.apache.org/maven2) @: 1 problem was encountered while building the effective model for org.jenkins-ci.plugins:plugin:2.7
[ERROR] [ERROR] Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:1.117 or one of its dependencies could not be resolved: Could not find artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:1.117 in central (http://repo.maven.apache.org/maven2)

The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.117 and the
jar exist in my local maven repo-cache, plus some files *.lastUpdated.


Things I tries so far without success were:
-) deleted the local maven cache
-) waited 1 day for the update interval to expire, then retry
-) switched to https (http://repo.jenkins-ci.org/public/)
-) switched to parent pom org.jenkins-ci.plugins:plugin:2.25

Any ideas what's going wrong here?

Martin

--
Cd wrttn wtht vwls s mch trsr.


Baptiste Mathus

unread,
Apr 3, 2017, 4:34:46 PM4/3/17
to Jenkins Developers
Seems like you didn't configure your machine (settings.xml), or not correctly/fully, to use Jenkins infrastructure. It seems to be trying to download the maven-hpi-plugin from Central instead of Jenkins' Maven repo infra.

-- Baptiste

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/1876002.aI8lLaYnp4%40linux.
For more options, visit https://groups.google.com/d/optout.

Martin Weber

unread,
Apr 4, 2017, 3:39:17 PM4/4/17
to jenkin...@googlegroups.com
Just in case anyone has the same issue:

Repeatedly deleting all *.lastUpdated and _remote.repositories files from the
local maven repo-cache and repeating the mvn command finally made things work.
Reply all
Reply to author
Forward
0 new messages