[ http://jira.codehaus.org/browse/MOJO-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MOJO-1495. ------------------------------ Resolution: Fixed Fix Version/s: buildnumber-maven-plugin-1.0-beta-5 Assignee: Olivier Lamy fixed rev 13437. BTW you have to configure revisionOnScmFailure to a value. As clearcase scm provider doesn't support info command. > ClassCastException when using ClearCase SCM > ------------------------------------------- > > Key: MOJO-1495 > URL: http://jira.codehaus.org/browse/MOJO-1495 > Project: Mojo > Issue Type: Bug > Components: buildnumber > Affects Versions: buildnumber-maven-plugin-1.0-beta-4 > Reporter: Hakan Tandogan > Assignee: Olivier Lamy > Fix For: buildnumber-maven-plugin-1.0-beta-5 > > > Our project is managed in ClearCase. > {noformat} > <scm> > <connection>scm:clearcase:mvn_sm_view:load > \some-clearcase-path\LATEST</connection> > <developerConnection>scm:clearcase:mv_sm_view:load > \some-clearcase-path\LATEST</developerConnection> > </scm> > {noformat} > using the buildnumber plugin gives me a ClassCastException in > CreateMojo.java, about line 690, in the method info(): > {noformat} > AbstractSvnScmProvider abstractSvnScmProvider = (AbstractSvnScmProvider) > scmManager.getProviderByType( "svn" ); > {noformat} > The Exception is: > {noformat} > [INFO] Cannot get the branch information from the scm repository : > Exception while executing SCM command. > org.apache.maven.scm.provider.clearcase.repository.ClearCaseScmProviderRepository > cannot be > cast to org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email