Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-774

scm load issue with mvn release:perform + Jazz RTC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.9.1
    • None
    • None

    Description

      I am having issue with mvn release:perform command. [ERROR] Subcommand "load" does not support option "--dir". Try 'scm help load' for more information.

      Maven release:perform is calling RTC scm load command with "--dir" flag.

      But as per RTC CLI only " -d" and
      "--directory"
      are the valid flag but not "--dir".

      Please help.

      Thanks.

      -Ashit Shah

      Note: I am getting below error.

      [INFO] --- maven-release-plugin:2.5:perform (default-cli) @ junit-ext ---
      [INFO] Checking out the project to perform the release ...
      [INFO] Executing: /bin/sh -c cd /tmp/maven && scm load --force --repository-uri https://localhost:9443/ccm --dir /tmp/maven junit-ext-1.0.0.0.10
      [INFO] Working directory: /tmp/maven
      [ERROR] Error: Argument syntax error:
      Subcommand "load" does not support option "--dir". Try 'scm help load' for more information.
      
      [ERROR] Error code for Jazz SCM checkout (load) command - 1
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.779s
      [INFO] Finished at: Fri Sep 05 16:25:20 MDT 2014
      [INFO] Final Memory: 24M/1963M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project junit-ext: Unable to checkout from SCM
      [ERROR] Provider message:
      [ERROR] Error code for Jazz SCM checkout (load) command - 1
      [ERROR] Command output:
      [ERROR] Argument syntax error:
      [ERROR] Subcommand "load" does not support option "--dir". Try 'scm help load' for more information.
      

      Attachments

        Activity

          People

            chrisgwarp Chris Graham
            ashitshah16 AShit Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: