Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-876

Resume a release:perform in multimodule git project fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.3.2, 2.5
    • None
    • None
    • None

    Description

      When uploading a release fails because the repository manager (Nexus) looses the network connection for whatever reason, it would be great to be able to resume the release from the point where the upload failed. Maven specifically instructs you to do so (but fails to remember the command line that was provided to it)

      When trying to continue the release perform using -rf :module in a git environment with a local checkout, the release plugin conveniently forgets the scm location or requires one where there is none...

      $ mvn -ff release:perform -DlocalCheckout=true -Dtag=wicket-6.15.0 -Papache-release -rf :wicket-native-websocket-core
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Build Order:
      [INFO] 
      [INFO] Wicket Native WebSocket Core
      [INFO] Wicket Native WebSocket Jetty
      [INFO] Wicket Native WebSocket Jetty 9
      [INFO] Wicket Native WebSocket Tomcat 7.x
      [INFO] Wicket Common Tests
      [INFO] 
      [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Wicket Native WebSocket Core 6.15.1-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-release-plugin:2.3.2:perform (default-cli) @ wicket-native-websocket-core ---
      [ERROR] No SCM URL was provided to perform the release from
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Wicket Native WebSocket Core ...................... FAILURE [  0.471 s]
      [INFO] Wicket Native WebSocket Jetty ..................... SKIPPED
      [INFO] Wicket Native WebSocket Jetty 9 ................... SKIPPED
      [INFO] Wicket Native WebSocket Tomcat 7.x ................ SKIPPED
      [INFO] Wicket Common Tests ............................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1.467 s
      [INFO] Finished at: 2014-04-16T00:36:49+01:00
      [INFO] Final Memory: 18M/81M
      [INFO] ------------------------------------------------------------------------
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dashorst Martijn Dashorst
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: