[
https://jira.codehaus.org/browse/SCM-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352417#comment-352417
]
AShit Shah commented on SCM-774:
--------------------------------
We are using ....
----------------------
Maven Version:
----------------------
Apache Maven 3.0.3 (r1075438; 2011-02-28 10:31:09-0700)
Java version: 1.7.0_55, vendor: Oracle Corporation
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"
---------------------------------------------
SCM and Release plugin version:
---------------------------------------------
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.9.1</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-jazz</artifactId>
<version>1.9.1</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-api</artifactId>
<version>1.9.1</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-client</artifactId>
<version>1.9.1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
</plugin>
---------------------
Jazz Version:
---------------------
About the Change and Configuration Management Application
Version: 4.0.5`
Build Information Version Build ID
Change and Configuration Management - Core Libraries 4.0.5
RTC-I20131025-2055
Jazz Foundation - Core Libraries 4.0.5 RJF-I20131025-1325
About the Rational Jazz Team Server
Version: 4.0.5
Build Information Version Build ID
Jazz Foundation - Core Libraries 4.0.5 RJF-I20131025-1325
Client Access License Types Assigned to user Shah, Ashit (Leidos)
Product Version Type Variant
Rational Team Concert 4.0 Developer-Floating Unlocked
--------------------------
scm client --version
--------------------------
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
Provides Subcommands:
list/streams, lastmod, set/flowtarget, get/change, undo/change,
......
.....
....
....
com.ibm.team.filesystem.cli.tools, version 3.1.500.v20131010_0815
Provides Subcommands:
tools.log, tools.validate, tools.generatehelp, tools.echo.stdin,
tools.pkgtest, tools.dump/postprocess, tools.dump, tools.metronome,
tools.verify, tools.configvalue
com.ibm.team.rtc.cli.infrastructure, version 3.1.500.v20131011_0922
-----------------------------------------------
Output of scm help load command
----------------------------------------------
$ scm help load
Help for: scm load
Purpose:
Loads the contents of the specified workspace into the local file system. By
default, the workspace is loaded into the current working directory.
Usage: scm load [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password
<arg> | --certificate <arg> -P/--password <arg> | --smartCard
-u/--username <arg>] [-d/--directory <arg>] [-q/--quiet]
[--all] [-f/--force] [-i/--include-root] [-R/--remote-rules
<arg>] [-L/--local-rules <arg>] [-t/--target <arg>]
[-a/--alternative-name <arg>] <workspace> [remote-path...]
workspace - The workspace to load. To specify the workspace, use its
name[@repo], alias, or UUID[@repo].
remote-path - The list of remote items to load. The remote-path might be the
name, alias, or UUID of a component, or a remote path within a
component. To specify a remote path within a component, use
the following format: <name, alias, or UUID of the
component>/<remote path within the component>.
Options:
-r, --repository-uri <arg> - The URI that specifies the location of the
repository.
-u, --username <arg> - The username for the repository.
-P, --password <arg> - The password for the repository.
--certificate <arg> - The file that contains the user's login
certificate.
--smartCard - Uses the connected smart card for
authentication.
-d, --directory <arg> - The root directory to save files to.
-q, --quiet - Prints the minimum amount of output during
normal operation.
--all - Selects all components. Priority is given to
explicitly selected components in the case
of a conflict.
-f, --force - Overwrites files that already exist in the
file system.
-i, --include-root - Loads component roots as directories in the
file system.
-R, --remote-rules <arg> - The remote path to the load rules file in a
component. The path must include the name,
alias, or UUID of the component.
-L, --local-rules <arg> - The local path to load rules file. Older load
rules that are not in XML format must
specify a component in the remote-path
argument.
-t, --target <arg> - An optional local path where changes are
loaded.
-a, --alternative-name <arg> - An alternative name for the item that is
specified in the remote-path.
> 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)