Emmanuel Venisse wrote:


On Fri, Jun 20, 2008 at 12:19 PM, Torbjørn Vatn <[EMAIL PROTECTED] <mailto:[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
    <http://github.com/torbjornvatn/fitnesse-pom-widget.git></connection>
    <url>scm:git:git://github.com/torbjornvatn/fitnesse-pom-widget.git
    <http://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.

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

-- Kim

Reply via email to