Error when preparing a plugin release

26 views
Skip to first unread message

Moshe Cohen

unread,
Jul 29, 2016, 6:08:37 AM7/29/16
to Jenkins Developers
When I execute

mvn release:prepare release:perform


I get the following error:

[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.115 is missing, no dependency information available
[ERROR] Failed to build parent project for org.jenkins-ci.plugins:aqua-security-scanner:hpi:1.3-SNAPSHOT
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:1.115 or one of its dependencies could not be resolved: Failure to find org.jenkins-ci.tools:maven-hpi-plugin:jar:1.115 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @


The release succeeds, though, due to cache.

What do I need to do to avoid this error message ?


Moshe Cohen

unread,
Jul 31, 2016, 11:34:30 AM7/31/16
to Jenkins Developers
Bumping this up in the hope for an answer

Baptiste Mathus

unread,
Jul 31, 2016, 3:01:54 PM7/31/16
to Jenkins Developers

Did you read https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins?

Common issues and FAQ.

In your case, I'd guess you didn't enrich your settings.xml with the Jenkins repositories. It's only trying Maven Central, and indeed that plugin is not there (yeah, we might want to sync to Central one day, but it's not the case today).

My 2 cents


--
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-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/a9ea9a27-5c2b-4683-83f1-accfcb25c279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages