FYI -- this is the format we used for a couple of years here with the release
plugin, before we moved to git.
You also need a clearcase-settings.xml in your $MAVEN_HOME/conf directory
containing something like this:
<clearcase-settings>
<clearcaseType>UCM</clearcaseType>
<useVWSParameter>true</useVWSParameter>
<viewstore>/net/ccview1/viewstg1/</viewstore>
</clearcase-settings
-----Original Message-----
From: Lyons, Roy
Sent: Tuesday, February 21, 2012 10:52 AM
To: Maven Users List
Subject: RE: maven: scm: clearcase URL help
<scm>
<connection>scm:clearcase:load
/some/load/rule:/your/project/vob:your_stream_name</connection>
</scm>
-----Original Message-----
From: sarmahdi [mailto:[email protected]]
Sent: Tuesday, February 21, 2012 10:09 AM
To: [email protected]
Subject: maven: scm: clearcase URL help
Hello all,
I am trying to connect to a remote clearcase to update my view
I just started on this project with Clear case and been asked to maven ize the
project and update the view from clearcase
I added the scm tag and added the clearcase-settings.xml defining the
clearcasetype as UCM
I need some help with the connection URL:
I went to the SCM plugin for CC page and the URL for UCM is :
scm:clearcase<delimiter>[view_name]<delimiter>config_spec<delimiter>vob_name<delimiter>stream_name
At some places it says that the POM in the folder of the project (inside the
clear case view) should only contain scm:clearcase, but when i try mvn
scm:validate with that then i get the error :
[ERROR] Validation of scm url connection (connectionUrl) failed :
[ERROR] Illegal URL: (ClearCaseUCM need more parameters. Expected url format
: [view_name]|[configspec]|[vob_name]|[stream_name])
[ERROR] The invalid scm url connection: 'scm:clearcase:'.
I added the view name , vob name and stream name but I dont know what the
config spec and elementName should be. is the config-spec the host name of the
clear case server. After adding the hostname as the config spec i get
this error : http://codepad.org/ZXCLskCR exception on mvn validate with
URL on codepad
I will appreciate if anyone can guide me to complete these two values for my
URL connection.
Thanks
Syed...
--
View this message in context:
http://maven.40175.n5.nabble.com/maven-scm-clearcase-URL-help-tp5502632p5502632.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]