emilly emilly - 4 months ago 83
Java Question

Jasper server maven repository url?

I am trying to get below dependency from jasper server.

<dependency>
<groupId>com.jaspersoft.jasperserver</groupId>
<artifactId>jasperserver-api</artifactId>
<version>6.0.1</version>
</dependency>


But i am getting below error

Missing artifact com.jaspersoft.jasperserver:jasperserver-api:jar:6.0.1


Here is my POM

<project ...>
<modelVersion>4.0.0</modelVersion>
....
<name>jasperProject</name>
<url>http://www.jaspersoft.com</url>

<dependencies>

<dependency>
<groupId>com.jaspersoft.jasperserver</groupId>
<artifactId>jasperserver-api</artifactId>
<version>6.0.1</version>
</dependency>

</dependencies>
</project>

Answer

With some simple googling you can get to this other answer on SO, where you can find a reference to this, which in term states you can add it like this:

<repository>
    <id>JasperForge Maven Repository</id>
    <!-- note: you need a <server> definition at bottom of file this file -->
    <url>http://anonsvn:anonsvn@jasperforge.org/svn/repos/maven2</url>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
    <releases>
        <enabled>true</enabled>
    </releases>
</repository>

It also seems there's http://www.jasperforge.org/maven2/, which appears to be a non-browseable repository.