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


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


Reply via email to