The local scm provider isn't supported by the release plugin because some of 
required methods aren't implemented in this provider.

Instead of using the local provider, it would be better to implement an accurev 
provider, but it will require few hours.

Emmanuel

Terala, Satish (IS Consultant) a écrit :
Hi

I use accurev as my version control system. Since there is no scm plugin for accurev, I am planning to use ‘ local ‘ as my scm to do a prepare and perform a release. I just noticed that the maven scm providers does not even download the maven-scm-local provider even though the local provider has been defined as module in the <modules> tag of the providers pom.

In my pom file I specify the scm plugin as

        <plugin>

                 <groupId>org.apache.maven.plugins</groupId>

                       <artifactId>maven-scm-plugin</artifactId>

                   <version>1.0-SNAPSHOT</version>

                 <configuration>

<connectionType>connection</connectionType>

                       </configuration>

           </plugin>

And then

        <scm>

                <connection>scm:local|C:/rds_workspace|rds</connection>

<developerConnection>scm:local|C:/rds_workspace|rds</developerConnection>

        </scm>

Here is the out put when I run mvn –X release:prepare. Basically all the scm providers are loaded at runtime except for local and hence at the point of running the prepare I get the error

*org.apache.maven.BuildFailureException: The provider given in the SCM URL could******** not be found: No such provider: 'local'.*****

I have checked up the poms in my local repository for maven-scm-providers, and did a comparision between poms for the local provider and other providers that are actually getting loaded, I don’t see any glaring differences that might be a cause of the issue. I wonder if I am missing something or is there any other config setting that needs to be done ?

Thanks

-Satish



e)

[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - near

er found: 1.1)

[DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm::1.0 for project:

null:maven-scm-api:jar:1.0 from the repository.

[DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.0:runtime (selected for run

time)

[DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-managers::1.0 for

project: null:maven-scm-manager-plexus:jar:1.0 from the repository.

[DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime (selec

ted for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-providers::1.0 for

 project: null:maven-scm-provider-bazaar:jar:1.0 from the repository.

[DEBUG] org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0:runtime (sele

cted for runtime)

[DEBUG]       regexp:regexp:jar:1.3:runtime (selected for runtime)

[DEBUG] org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.0:runtime (s

elected for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-providers-cvs::1.0

 for project: null:maven-scm-provider-cvsexe:jar:1.0 from the repository.

[DEBUG] org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.0:runtime (sele

cted for runtime)

[DEBUG] org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.0:runtim

e (selected for runtime)

[DEBUG] org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.0:runtime (sel

ected for runtime)

[DEBUG] org.netbeans.lib:cvsclient:jar:20060125:runtime (selected for runt

ime)

[DEBUG] ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime (selected for ru

ntime)

[DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:1.0:runtime (selected

 for runtime)

[DEBUG] org.apache.maven.scm:maven-scm-provider-perforce:jar:1.0:runtime (se

lected for runtime)

[DEBUG] org.apache.maven.scm:maven-scm-provider-starteam:jar:1.0:runtime (se

lected for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-providers-svn::1.0

 for project: null:maven-scm-provider-svnexe:jar:1.0 from the repository.

[DEBUG] org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.0:runtime (sele

cted for runtime)

[DEBUG] org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.0:runtim

e (selected for runtime)

[DEBUG] org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0:runtime (sel

ected for runtime)

[DEBUG]     jdom:jdom:jar:1.0:runtime (selected for runtime)

[DEBUG]     jaxen:jaxen:jar:1.1-beta-8:runtime (selected for runtime)

[DEBUG] jaxen:jaxen:jar:1.0-FCS:runtime (removed - causes a cycle in the g

raph)

[DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-api

[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8

[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4

[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5

[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5

[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5

[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5

[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtim

e)

[DEBUG] maven-release-manager: resolved to version 1.0-alpha-4-20070908.230151-5

 from repository snapshots.







Reply via email to