[ 
https://jira.codehaus.org/browse/SCM-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352515#comment-352515
 ] 

AShit Shah edited comment on SCM-774 at 9/10/14 11:01 AM:
----------------------------------------------------------

I was able to execute "release:perform" successfully after I down-graded my RTC 
Client version to 3.0.5 from 3.2.0.

In RTC Client 3.0.5 "scm load" command support "--dir" flag which is used by 
1.9 Jazz maven scm provider.

We called IBM and at first they tried to say it was a maven plug-in they didn't 
control but after our pushing, they looked deeper and found the defect.

Also please note IBM have fixed this issue and supported "--dir" flag again in 
RTC client version 4.0.6.

Reported workitem:

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=297167
 
<https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem%26id=297167>
  
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=296615
 
<https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem%26id=296615>
  



was (Author: ashitshah16):
I was able to execute "release:prepare" successfully after I down-graded my RTC 
Client version to 3.0.5 from 3.2.0.

In RTC Client 3.0.5 "scm load" command support "--dir" flag which is used by 
1.9 Jazz maven scm provider.

We called IBM and at first they tried to say it was a maven plug-in they didn't 
control but after our pushing, they looked deeper and found the defect.

Also please note IBM have fixed this issue and supported "--dir" flag again in 
RTC client version 4.0.6.

Reported workitem:

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=297167
 
<https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem%26id=297167>
  
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=296615
 
<https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem%26id=296615>
  


> 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. 
> {noformat}
> [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.
> {noformat}



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

Reply via email to