alexnederlof / Jasper-report-maven-plugin

A fast jasper report maven plugin
Apache License 2.0
134 stars 84 forks source link

Missing Dependency com.lowagie:itext:jar:2.1.7.js6 #59

Open kuhpid opened 4 years ago

kuhpid commented 4 years ago

I could not run the plugin against the public maven repository cause there is missing the dependency com.lowagie:itext:jar:2.1.7.js6. This version is mentioned at mvnrepository.com (https://mvnrepository.com/artifact/com.lowagie/itext/2.1.7.js6) and there is a hint that this artefact is hosted on (http://maven.icm.edu.pl/artifactory/repo/). But the js6 version is not there. As a workaround I excluded this dependency and used the 2.1.7.

mmonge commented 4 years ago

Hello, you are right, that dependency is not on Maven Central, I use my own JFrog Artifactory for my dependencies, but this dependency you need is in:

https://jaspersoft.artifactoryonline.com/jaspersoft/jaspersoft-repo/

image

You can add that repo to your POM.

Many of the Jasper dependencies are not on Maven Central, that's one of the reasons I have my own repo.

image
ballonyi commented 2 years ago

URL above is not accessible and as I see server certificate expired in 2020:

kép

In my final agony I downloaded the jar (e.g. from jar-download.com) and installed it manually: mvn install:install-file -Dfile=itext-2.1.7.jar -DgroupId=com.lowagie -DartifactId=itext -Dversion=2.1.7.js3 -Dpackaging=jar -DgeneratePom=true