Hi Rajesh,

It seems to me, scm-users mailing list is most appropriate to talk about that.
I'm allowed to transfer to it.

Currently I am on vacation so I don't have clearcase. I will be able to discribe my configuration in more detail next week.

In general I prefer using "Auto-generated config spec" way for my projects. For more information on it : http://maven.apache.org/scm/clearcase.html


2010/4/28 Rajesh Kumar <rajeshkumarmaht...@gmail.com>:
Thanks Jérémie for sharing useful information.

I am using ClearCase UCM and View has been created using CC client. Also
cleartool.exe is in path.

Questions 1: I could not get value of config_spec in Clearcase UCM.


scm:clearcase | rajkumar_Amor_v1.1_be_int_4 | config_spec | scm_blr_amor |

Error: after mvn scm:status


[INFO] [scm:status {execution: default-cli}]
[INFO] The SCM URL contains unused parameter : Amor_v1.1_be_int
[ERROR] Provider message:
[ERROR] The cleartool command failed.
[ERROR] Command output:
[ERROR] cleartool: Error: Unable to determine view for ".": not a ClearCase

Question 2: Please refer my pom.xml file and let me know if its correct...

<project xmlns="http://maven.apache.org/POM/4.0.0";



Can you please share your pom.xml so i can correct mine accordingly..


On Tue, Apr 27, 2010 at 4:12 PM, Jérémie <j...@printstacktrace.org> wrote:

To use clearcase with maven you need a clearcase view and the
cleartool.exe in the  PATH system property.

Try the "mvn scm:status" command and "cleartool.exe lshistory pom.xml" in
the project path to validate your configuration.

To create the sonar reports I use the integration server Hudson with
clearcase plugin and a standard maven job to do "mvn sonar:sonar".

Remember, to use clearcase with maven, you must in most cases have a
clearcase view and cleartool. (ex: the release plugin, modify pom.xml, use
scm:checkin and scm:tag in the current view, and use scm:checkout to create
the new view for release labeled code.)


2010/4/27 Rajesh Kumar <rajeshkumarmaht...@gmail.com>:

Hi Jérémie,

I have very limited information about ClearCase. Can you please more
descriptive? This would be kind help.

also, I am running pom.xml from machine where no view has been installed.

My Requirement: I want my pom.xml should get source code directly from
Clearcase UCM and generate a Quality Matrix.

To unsubscribe from this list, please visit:


Rajesh Kumar
Configuration, Build and Release Engineer
Blog: http://www.scmGalaxy.com

Email: raj...@scmgalaxy.com

Reply via email to