Re: Maven scm plugin unable to load maven scm local provider

2007-09-12 Thread Emmanuel Venisse

maybe I'll miss some of them but they are:

checkout, checkin, changelog, tag, status, update

Emmanuel

Allan Lang a écrit :

Hi Emmanuel

Out of interest, what are the required methods required for release 
plugin support?


Thanks,
Allan

On 12 Sep 2007, at 14:17, Emmanuel Venisse wrote:

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  
tag of the providers pom.

In my pom file I specify the scm plugin as

 org.apache.maven.plugins
   maven-scm-plugin
   1.0-SNAPSHOT
 
  
connection

   
   
And then

scm:local|C:/rds_workspace|rds

scm:local|C:/rds_workspace|rds 



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

Re: Maven scm plugin unable to load maven scm local provider

2007-09-12 Thread Allan Lang

Hi Emmanuel

Out of interest, what are the required methods required for release  
plugin support?


Thanks,
Allan

On 12 Sep 2007, at 14:17, Emmanuel Venisse wrote:

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  
 tag of the providers pom.

In my pom file I specify the scm plugin as

 org.apache.maven.plugins
   maven-scm-plugin
   1.0-SNAPSHOT
 
  connectionconnectionType>

   
   
And then

scm:local|C:/rds_workspace|rdsconnection>
scm:local|C:/rds_workspace| 
rds


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-