Restlet Maven Dependencies

Atma picture Atma · Jun 24, 2012 · Viewed 11.8k times · Source

Does anyone know what the RESTLET maven dependencies are?

None of the entries on the site work. I had to end up installing jars to make it work.

Answer

Gonzalo picture Gonzalo · Jun 26, 2012

add this repo:

<repositories>
    <repository>
        <id>maven-restlet</id>
        <name>Public online Restlet repository</name>
        <url>https://maven.restlet.talend.com/</url>
    </repository>
</repositories>

Then include dependencies with your version:

<dependency>
        <groupId>org.restlet.jee</groupId>
        <artifactId>org.restlet</artifactId>
        <version>${restlet.version}</version>
</dependency>

Use:

<properties>
    <restlet.version>2.0.14</restlet.version>
</properties>

to define restlet version or just put whichever version you like. Hope it helps!