[ 
https://jira.codehaus.org/browse/SCM-774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

AShit Shah updated SCM-774:
---------------------------

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

Maven release:prepare 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.


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

Maven release:prepare 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.



> issue with mvn release:prepare + Jazz RTC
> -----------------------------------------
>
>                 Key: SCM-774
>                 URL: https://jira.codehaus.org/browse/SCM-774
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-api, maven-scm-client, maven-scm-provider-jazz
>    Affects Versions: 1.9.1
>         Environment: $ mvn -v
> Apache Maven 3.0.3 (r1075438; 2011-02-28 10:31:09-0700)
> Maven home: /u01/app/apache-maven-3.0.3
> Java version: 1.7.0_55, vendor: Oracle Corporation
> Java home: /u01/app/oracle/java/jdk1.7.0_55/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-431.20.3.el6.x86_64", arch: "amd64", 
> family: "unix"
> RTC 4.0.5
> $ scm -v
> Build Id: RTC-I20131025-2055
> com.ibm.team.filesystem.cli.core, version 3.2.0.v20131023_0208
> Provides Subcommands:
>   daemon/start, daemon, daemon/stop, daemon/deregister, daemon/register
> com.ibm.team.filesystem.cli.client, version 3.2.0.v20131024_0535
> ....
> ...
> ....
>            Reporter: AShit Shah
>
> I am having issue with mvn release:prepare command. [ERROR] Subcommand "load" 
> does not support option "--dir". Try 'scm help load' for more information.
> Maven release:prepare 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.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to