Jump to content
Changes to the Jaspersoft community edition download ×

Adding JasperReports as a Maven dependency


andypb123

Recommended Posts

Hello,

We have a Maven 2 project and one of the libraries we need to add is the latest Jasper Reports 3.2.6

However this library doesn't exist in a Maven Repository.

How do we manage this dependency and all its transitive dependencies? (i.e. all the dependencies it relies on)

And how do we find out the minimum libraries it needs in order to run within our application?

For older releases, which are in the Maven central repository, we'd just add the dependency, for example, like:

        <dependency>

            <groupId>jasperreports</groupId>

            <artifactId>jasperreports</artifactId>

            <version>3.1.2</version>

        </dependency>

And Maven would do its magic, downloading all the transitive dependencies.

I've looked through the JasperReports documentation but can't find much on this to help me.

I would be very grateful for any help anyone can give.

Thanks

Andy B

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Hello!

 

We have the same situation: it looks like JasperReports only goes up to 3.5.3 in public repositories.

 

There is of course a way to create your own local Maven version (and we kind of did it for 3.6.1), but it would be nice if there would be an "official" Maven support for latest versions.

 

Regards,

Aljoša

Link to comment
Share on other sites

Hi,

Yeah we deployed the jasperreposrts.3.6.2.jar to our local company repository, using the POM from the 3.6.2-SNAPSHOT artifact in the jasperforge m2 repository:

http://anonsvn:anonsvn@jasperforge.org/svn/repos/maven2

I can't say its working yet because we haven't got our code working with this new version. We're wondering if one of the dependencies in the snapshot version is the wrong version for the released version.

Andy

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

Please use the following public repository for JasperReports:

        <repository>
          <id>jasperreports</id>
          <url>http://jasperreports.sourceforge.net/maven2</url>
        </repository>
 

We hope this will soon be synchronized with the Maven central repositories, as we have made a sync request here:

http://jira.codehaus.org/browse/MAVENUPLOAD-2688

 

Thank you,
Teodor

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...