Re: Issues with mvn-scm-providers-git

2008-06-26 Thread Kim Pepper

Emmanuel Venisse wrote:



On Thu, Jun 26, 2008 at 1:58 AM, Kim Pepper 
<[EMAIL PROTECTED] > wrote:


Emmanuel Venisse wrote:



On Fri, Jun 20, 2008 at 12:19 PM, Torbjørn Vatn
<[EMAIL PROTECTED] > wrote:

I'm having some issues getting this provider to work sadly.
So far I've tried this:

1. git cloning
http://ns1.backwork.net/git/maven-scm-providers-git.git^ and
running mvn clean install
2. vim'ing into

.m2/repository/org/apache/maven/scm/maven-scm-providers/1.0/maven-scm-providers-1.0.pom
and adding maven-scm-providers-git in the
modules section of the file.


why? you don't need to do it and it's a bad practice to modify
released POM
 



3. Adding this to my projects pom.xml:


scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git

scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git




3.1 Add scm plugin in your POM and add to it the git provider
dependency so the plugin will know this new provider.


Can you give an example snippet from a pom.xml? I've also tried
this unsuccessfully and couldn't find any examples.



  

  org.apache.maven.plugins
  maven-scm-plugin
  

  org.apache.maven.scm
  maven-scm-provider-gitexe
  1.1-SNAPSHOT

  

  




-- Kim



I tried using your example, but I get the error message:

   The provider given in the SCM URL could not be found: No such 
provider: 'git'.


-- Kim



Re: Issues with mvn-scm-providers-git

2008-06-26 Thread Emmanuel Venisse
On Thu, Jun 26, 2008 at 1:58 AM, Kim Pepper <[EMAIL PROTECTED]>
wrote:

>  Emmanuel Venisse wrote:
>
>
>
> On Fri, Jun 20, 2008 at 12:19 PM, Torbjørn Vatn <[EMAIL PROTECTED]>
> wrote:
>
>> I'm having some issues getting this provider to work sadly. So far I've
>> tried this:
>>
>> 1. git cloning http://ns1.backwork.net/git/maven-scm-providers-git.git^
>> and running mvn clean install
>> 2. vim'ing into
>> .m2/repository/org/apache/maven/scm/maven-scm-providers/1.0/maven-scm-providers-1.0.pom
>> and adding maven-scm-providers-git in the modules section
>> of the file.
>
>
> why? you don't need to do it and it's a bad practice to modify released POM
>
>
>>
>> 3. Adding this to my projects pom.xml:
>> 
>> scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git
>> 
>> scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git
>> 
>
>
> 3.1 Add scm plugin in your POM and add to it the git provider dependency so
> the plugin will know this new provider.
>
>   Can you give an example snippet from a pom.xml? I've also tried this
> unsuccessfully and couldn't find any examples.
>


  

  org.apache.maven.plugins
  maven-scm-plugin
  

  org.apache.maven.scm
  maven-scm-provider-gitexe
  1.1-SNAPSHOT

  

  




> -- Kim
>
>


Re: Issues with mvn-scm-providers-git

2008-06-25 Thread Kim Pepper

Emmanuel Venisse wrote:



On Fri, Jun 20, 2008 at 12:19 PM, Torbjørn Vatn <[EMAIL PROTECTED] 
> wrote:


I'm having some issues getting this provider to work sadly. So far
I've tried this:

1. git cloning
http://ns1.backwork.net/git/maven-scm-providers-git.git^ and
running mvn clean install
2. vim'ing into

.m2/repository/org/apache/maven/scm/maven-scm-providers/1.0/maven-scm-providers-1.0.pom
and adding maven-scm-providers-git in the modules
section of the file.


why? you don't need to do it and it's a bad practice to modify 
released POM
 



3. Adding this to my projects pom.xml:

scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git

scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git




3.1 Add scm plugin in your POM and add to it the git provider 
dependency so the plugin will know this new provider.


Can you give an example snippet from a pom.xml? I've also tried this 
unsuccessfully and couldn't find any examples.


-- Kim



Re: Issues with mvn-scm-providers-git

2008-06-25 Thread Emmanuel Venisse
On Fri, Jun 20, 2008 at 12:19 PM, Torbjørn Vatn <[EMAIL PROTECTED]>
wrote:

> I'm having some issues getting this provider to work sadly. So far I've
> tried this:
>
> 1. git cloning http://ns1.backwork.net/git/maven-scm-providers-git.git^
> and running mvn clean install
> 2. vim'ing into
> .m2/repository/org/apache/maven/scm/maven-scm-providers/1.0/maven-scm-providers-1.0.pom
> and adding maven-scm-providers-git in the modules section
> of the file.


why? you don't need to do it and it's a bad practice to modify released POM


>
> 3. Adding this to my projects pom.xml:
> 
> scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git
> 
> scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git
> 


3.1 Add scm plugin in your POM and add to it the git provider dependency so
the plugin will know this new provider.


> 4. running scm:status only gives my the error message:
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Cannot run status command :
> Embedded error: Can't load the scm provider.
> No such provider: 'git'.
>
> Can anyone give my some pointers to what I'm doing wrong. I'm a big fan of
> git and really wants to get this maven provider working.
>
> Thanks in advance!
>
> Regards
> Torbjørn
>
>


Issues with mvn-scm-providers-git

2008-06-20 Thread Torbjørn Vatn
I'm having some issues getting this provider to work sadly. So far I've 
tried this:


1. git cloning http://ns1.backwork.net/git/maven-scm-providers-git.git^ 
and running mvn clean install
2. vim'ing into 
.m2/repository/org/apache/maven/scm/maven-scm-providers/1.0/maven-scm-providers-1.0.pom 
and adding maven-scm-providers-git in the modules 
section of the file.

3. Adding this to my projects pom.xml:

scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git
scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git

4. running scm:status only gives my the error message:
[ERROR] BUILD ERROR
[INFO] 


[INFO] Cannot run status command :
Embedded error: Can't load the scm provider.
No such provider: 'git'.

Can anyone give my some pointers to what I'm doing wrong. I'm a big fan 
of git and really wants to get this maven provider working.


Thanks in advance!

Regards
Torbjørn