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 <module>maven-scm-providers-git</module> 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>
> <connection>scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git
> </connection>
> <url>scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git</url>
> </scm>


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
>
>

Reply via email to