Menu

Maven dependency spec for RankLib

RankLib
2015-12-29
2015-12-29
  • Ilya Zavorin

    Ilya Zavorin - 2015-12-29

    If I want to include RankLib as a dependency in a Maven project, what would be the right dependency specification for it? Thank you

     
  • Lemur Project

    Lemur Project - 2015-12-29

    You'll need to add a RankLib <dependency> tag set to your existing <dependencies> list.</dependencies></dependency>

    <dependency>
    <groupid> edu.umass.ciir </groupid>
    <artifactid> RankLib </artifactid>
    <version> 2.6 </version>
    </dependency>

    Download the desired RankLib version jar and manually install it in your maven
    (.m2) repository.

    mvn install:install-file -DgroupId=edu.umass.ciir -DartifactId=RankLib -Dversion=2.6 \
    -Dpackaging=jar -Dfile=/path/to/downloaded/RankLib-2.6.jar

    There are apparently ways to have maven directly download the jar from SourceForge, but
    I am not clear on the method. It invovles a <repository> tag set with <id> and <url>
    definitions.</url></id></repository>

    If you want the latest RankLib SNAPSHOT you can download the sources from SourceForge
    and do a "mvn install" which will compile, package and install the sources for you.

     
  • Lemur Project

    Lemur Project - 2015-12-29

    I would say some bug fixes more than anything. Overall, they're pretty closely similar.

    There have been some minor changes in the min leaf support argument for tree-based learners.

     

Log in to post a comment.

MongoDB Logo MongoDB