You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Torbjørn Vatn (JIRA)" <ji...@codehaus.org> on 2008/06/20 08:02:27 UTC

[jira] Commented: (SCM-182) git provider

    [ http://jira.codehaus.org/browse/SCM-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139099#action_139099 ] 

Torbjørn Vatn  commented on SCM-182:
------------------------------------

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





> git provider
> ------------
>
>                 Key: SCM-182
>                 URL: http://jira.codehaus.org/browse/SCM-182
>             Project: Maven SCM
>          Issue Type: New Feature
>          Components: maven-scm-provider-git
>         Environment: Developed on Mac OS X 10.3.9 with git 1.2.4
>            Reporter: Dominik Winter
>            Assignee: Jason van Zyl
>             Fix For: 1.1
>
>         Attachments: git.patch, git.tar.bz2, SCM-182.patch, update1.patch.bz2
>
>
> Please find the git provider as attachment.
> Usefulness:
> I used the git provider together with [http://maven.apache.org/plugins/maven-release-plugin|maven-release-plugin], it works fine for that use case.
> Open issues:
> - the JUnit tests are "proprietary", not yet TCK. I'll fix that.
> If you want to run the tests, you must have git installed and it must be in your {{PATH}}.
> To run git:
> - on *Windows*: use [Cygwin|http://www.cygwin.com] and install the binutils, openssh, openssl, rsync, curl
> than you are able to compile and install git
> - on Linux: there are packages somewhere
> - on Mac OS X: use the [DarwinPorts|http://www.darwinports.org/]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira