2011/03/24

Using an unofficial maven Weka repository

Today I needed to use Weka for a scholar project plus Maven but because it doesn't exist in the official maven repositories I just added it using a third party repository.

pom.xml: 

...
    <repositories>

        <repository>
            <id>weka</id>
            <name>Weka unofficial repository</name>
            <layout>default</layout>
            <url>http://maven.ch.cam.ac.uk/m2repo/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>

    </repositories>

...

    <dependencies>
...
        <dependency>
            <groupId>weka</groupId>
            <artifactId>weka</artifactId>
            <version>3.5.7</version>
            <type>jar</type>
        </dependency>
...
    <dependencies>
...


What a wonderful tool maven is!

No comments:

Post a Comment