Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15260

Can't release VirtualBox Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • virtualbox-plugin
    • None
    • Mac OSX 10.7.5, Maven 3.0.4, Java 1.6.0-35 (64bits)

      While trying to release VirtualBox Plugin 0.5.0 I encountered this error :

      mbp-rico:virtualbox-plugin henri$ mvn3 -s  ~/.m2/settings-std.xml -DdryRun=true release:prepare 
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Build Order:
      [INFO] 
      [INFO] Jenkins VirtualBox Parent
      [INFO] Jenkins VirtualBox Plugin
      [INFO] Jenkins VirtualBox Client
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Jenkins VirtualBox Parent 0.5-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-release-plugin:2.0:prepare (default-cli) @ virtualbox-parent ---
      [INFO] Verifying that there are no local modifications...
      [INFO] Executing: /bin/sh -c cd /Users/henri/Documents/gits/virtualbox-plugin && git status
      [INFO] Working directory: /Users/henri/Documents/gits/virtualbox-plugin
      [INFO] Checking dependencies and plugins for snapshots ...
      What is the release version for "Jenkins VirtualBox Parent"? (org.jenkins-ci.plugins:virtualbox-parent) 0.5: : 
      What is the release version for "Jenkins VirtualBox Plugin"? (org.jenkins-ci.plugins:virtualbox) 0.5: : 
      What is the release version for "Jenkins VirtualBox Client"? (org.jenkins-ci.plugins:virtualbox-client) 0.5: : 
      What is SCM release tag or label for "Jenkins VirtualBox Parent"? (org.jenkins-ci.plugins:virtualbox-parent) virtualbox-parent-0.5: : 
      What is the new development version for "Jenkins VirtualBox Parent"? (org.jenkins-ci.plugins:virtualbox-parent) 0.6-SNAPSHOT: : 
      What is the new development version for "Jenkins VirtualBox Plugin"? (org.jenkins-ci.plugins:virtualbox) 0.6-SNAPSHOT: : 
      What is the new development version for "Jenkins VirtualBox Client"? (org.jenkins-ci.plugins:virtualbox-client) 0.6-SNAPSHOT: : 
      [INFO] Transforming 'Jenkins VirtualBox Parent'...
      [WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.64 is missing, no dependency information available
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Jenkins VirtualBox Parent ......................... FAILURE [7.854s]
      [INFO] Jenkins VirtualBox Plugin ......................... SKIPPED
      [INFO] Jenkins VirtualBox Client ......................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 10.006s
      [INFO] Finished at: Thu Sep 20 22:21:14 CEST 2012
      [INFO] Final Memory: 7M/81M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli) on project virtualbox-parent: Execution default-cli of goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare failed: Failed to build parent project for org.jenkins-ci.plugins:virtualbox-parent:pom:0.5-SNAPSHOT: Some problems were encountered while processing the POMs:
      [ERROR] [ERROR] Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:1.64 or one of its dependencies could not be resolved: Failure to find org.jenkins-ci.tools:maven-hpi-plugin:jar:1.64 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 @: 1 problem was encountered while building the effective model for org.jenkins-ci.plugins:plugin:1.399
      [ERROR] [ERROR] Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:1.64 or one of its dependencies could not be resolved: Failure to find org.jenkins-ci.tools:maven-hpi-plugin:jar:1.64 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 @
      [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
      

      I'm using a basic settings.xml :

      <settings xmlns="http://maven.apache.org/POM/4.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
      http://maven.apache.org/xsd/settings-1.0.0.xsd">
      
        <interactiveMode>true</interactiveMode>
        <offline>false</offline>
      
      </settings>
      

      I started with an empty local repository (~/.m2/repository)

      Strange but maven-hpi-plugin-1.64.jar has been download and installed :

      mbp-rico:1.64 henri$ cd
      mbp-rico:~ henri$ cd .m2/repository/org/jenkins-ci/tools/maven-hpi-plugin/1.64/
      mbp-rico:1.64 henri$ ls -l
      total 200
      -rw-r--r--  1 henri  staff    221 20 sep 22:13 _maven.repositories
      -rw-r--r--  1 henri  staff  73385 20 sep 22:10 maven-hpi-plugin-1.64.jar
      -rw-r--r--  1 henri  staff    236 20 sep 22:15 maven-hpi-plugin-1.64.jar.lastUpdated
      -rw-r--r--  1 henri  staff     40 20 sep 22:10 maven-hpi-plugin-1.64.jar.sha1
      -rw-r--r--  1 henri  staff   4944 20 sep 22:09 maven-hpi-plugin-1.64.pom
      -rw-r--r--  1 henri  staff    236 20 sep 22:15 maven-hpi-plugin-1.64.pom.lastUpdated
      -rw-r--r--  1 henri  staff     40 20 sep 22:09 maven-hpi-plugin-1.64.pom.sha1
      
      MD5 (_maven.repositories) = ba31bcf61f89d7eee63a743857c40cdb
      MD5 (maven-hpi-plugin-1.64.jar) = 2ae8c03aa903fe8f59d2fd9724a25aa1
      MD5 (maven-hpi-plugin-1.64.jar.lastUpdated) = 7c4aa7c34aff1e2264c9fa6d96ea0ba1
      MD5 (maven-hpi-plugin-1.64.jar.sha1) = 817084865ded2814a05b835b506fdea2
      MD5 (maven-hpi-plugin-1.64.pom) = e1f620b3c501692930d07faebba70298
      MD5 (maven-hpi-plugin-1.64.pom.lastUpdated) = ddcd3c270f8d0c277a76d0c6d6ee4b9f
      MD5 (maven-hpi-plugin-1.64.pom.sha1) = d73ec6543784826883afe22e7232ad1b
      

            aheritier Arnaud Héritier
            hgomez Henri Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: