I don't know if it will be useful but i use this command to update the
version of my plugin:
mvn versions:set versions:commit -DnewVersion={You number version}
mvn package
(mvn install)
On Thursday, October 15, 2015 at 10:49:18 AM UTC+2, Jan Niklas Hasse wrote:
>
> Hi!
>
> I'm trying to release a new version of the python-plugin (
> https://github.com/jenkinsci/python-plugin). I couldn't find a guide for
> this and also my Java / Maven skills are pretty low. My guess is, that I
> need to run
>
> mvn release:prepare
>
> but this gives me (after a lot of Downloading) the following errors:
>
> [INFO] Verifying that there are no local modifications...
> [INFO] Executing: /bin/sh -c cd /home/hasse/python-plugin && git status
> [INFO] Working directory: /home/hasse/python-plugin
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Python Plugin"?
> (org.jenkins-ci.plugins:python) 1.3: : 1.3
> What is SCM release tag or label for "Python Plugin"?
> (org.jenkins-ci.plugins:python) python-1.3: :
> What is the new development version for "Python Plugin"?
> (org.jenkins-ci.plugins:python) 1.4-SNAPSHOT: :
> [INFO] Transforming 'Python Plugin'...
> Downloading:
> http://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-hpi-plugin/1.67/maven-hpi-plugin-1.67.pom
> [WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.67 is
> missing, no dependency information available
> Downloading:
> http://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-hpi-plugin/1.67/maven-hpi-plugin-1.67.jar
> Downloading:
> http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Downloaded:
> http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
>
> (165 KB at 1598.2 KB/sec)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5:56.382s
> [INFO] Finished at: Thu Oct 15 10:47:32 CEST 2015
> [INFO] Final Memory: 15M/110M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-release-plugin:2.0-beta-9:prepare
> (default-cli) on project python: Execution default-cli of goal
> org.apache.maven.plugins:maven-release-plugin:2.0-beta-9:prepare failed:
> Failed to build parent project for
> org.jenkins-ci.plugins:python:hpi:1.3-SNAPSHOT: Some problems were
> encountered while processing the POMs:
> [ERROR] [ERROR] Unresolveable build extension: Plugin
> org.jenkins-ci.tools:maven-hpi-plugin:1.67 or one of its dependencies could
> not be resolved: Could not find artifact
> org.jenkins-ci.tools:maven-hpi-plugin:jar:1.67 in central (
> http://repo.maven.apache.org/maven2) @: 1 problem was encountered while
> building the effective model for org.jenkins-ci.plugins:plugin:1.409
> [ERROR] [ERROR] Unresolveable build extension: Plugin
> org.jenkins-ci.tools:maven-hpi-plugin:1.67 or one of its dependencies could
> not be resolved: Could not find artifact
> org.jenkins-ci.tools:maven-hpi-plugin:jar:1.67 in central (
> http://repo.maven.apache.org/maven2) @
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
>
> It looks to me that some dependencies changed their names, but I'm pretty
> clueless how to fix this. Can someone help me out?
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/bc7d5001-19e0-4fff-b7bf-6b13152d012a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.