You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by Julien Henry <ju...@capgemini.com> on 2006/09/14 15:31:39 UTC

How to add a new provider ?

Hi,

I'm trying to test the provider I'm writing. I installed it (mvn 
install), and now I try to call it with maven-scm-plugin:
mvn scm:update -DconnectionUrl=scm:synergy:
[INFO] [scm:update]
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Cannot run checkout command :

Embedded error: Can't load the scm provider.

First of all, it seems there is an error in the message. It's not 
"Cannot run checkout command" but "Cannot run update command".
Now, how to make maven-scm-plugin aware of the presence of the synergy 
provider ?

Thanks.
-- 

_________________________________________________________________________

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com <http://www.capgemini.com/>

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

**Join the Collaborative Business Experience**** **
_________________________________________________________________________


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


Re: How to add a new provider ?

Posted by Julien Henry <ju...@capgemini.com>.
Thanks, it works !

Brett Porter a écrit :
> You'll need to have the SCM plugin in your POM:
>
> <plugin>
>  <artifactId>maven-scm-plugin</artifactId>
>   ...
>   <dependencies>
>     <dependency>
>      ... provider dependency ...
>
>
> It might be worth adding the ability to do this in the SCM plugin 
> itself so that it can be done for command line operations like 
> scm:checkout
>
> - Brett
>
> On 14/09/2006, at 11:31 PM, Julien Henry wrote:
>
>>
>> Hi,
>>
>> I'm trying to test the provider I'm writing. I installed it (mvn 
>> install), and now I try to call it with maven-scm-plugin:
>> mvn scm:update -DconnectionUrl=scm:synergy:
>> [INFO] [scm:update]
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Cannot run checkout command :
>>
>> Embedded error: Can't load the scm provider.
>>
>> First of all, it seems there is an error in the message. It's not 
>> "Cannot run checkout command" but "Cannot run update command".
>> Now, how to make maven-scm-plugin aware of the presence of the 
>> synergy provider ?
>>
>> Thanks.
>> -- 
>> _________________________________________________________________________ 
>>
>>
>> Julien HENRY | **Capgemini Sud **| Nice
>>
>> www.fr.capgemini.com <http://www.capgemini.com/>
>>
>> Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice
>>
>> **Join the Collaborative Business Experience**** **
>> _________________________________________________________________________ 
>>
>>
>>
>> This message contains information that may be privileged or 
>> confidential and is the property of the Capgemini Group. It is 
>> intended only for the person to whom it is addressed. If you are not 
>> the intended recipient,  you are not authorized to read, print, 
>> retain, copy, disseminate,  distribute, or use this message or any 
>> part thereof. If you receive this  message in error, please notify 
>> the sender immediately and delete all  copies of this message.
>

-- 

_________________________________________________________________________

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com <http://www.capgemini.com/>

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

 

**Join the Collaborative Business Experience**** **
_________________________________________________________________________

 

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


Re: How to add a new provider ?

Posted by Brett Porter <br...@apache.org>.
You'll need to have the SCM plugin in your POM:

<plugin>
  <artifactId>maven-scm-plugin</artifactId>
   ...
   <dependencies>
     <dependency>
      ... provider dependency ...


It might be worth adding the ability to do this in the SCM plugin  
itself so that it can be done for command line operations like  
scm:checkout

- Brett

On 14/09/2006, at 11:31 PM, Julien Henry wrote:

>
> Hi,
>
> I'm trying to test the provider I'm writing. I installed it (mvn  
> install), and now I try to call it with maven-scm-plugin:
> mvn scm:update -DconnectionUrl=scm:synergy:
> [INFO] [scm:update]
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Cannot run checkout command :
>
> Embedded error: Can't load the scm provider.
>
> First of all, it seems there is an error in the message. It's not  
> "Cannot run checkout command" but "Cannot run update command".
> Now, how to make maven-scm-plugin aware of the presence of the  
> synergy provider ?
>
> Thanks.
> -- 
>
> ______________________________________________________________________ 
> ___
>
> Julien HENRY | **Capgemini Sud **| Nice
>
> www.fr.capgemini.com <http://www.capgemini.com/>
>
> Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice
>
> **Join the Collaborative Business Experience**** **
> ______________________________________________________________________ 
> ___
>
>
> This message contains information that may be privileged or  
> confidential and is the property of the Capgemini Group. It is  
> intended only for the person to whom it is addressed. If you are  
> not the intended recipient,  you are not authorized to read, print,  
> retain, copy, disseminate,  distribute, or use this message or any  
> part thereof. If you receive this  message in error, please notify  
> the sender immediately and delete all  copies of this message.