Jasper-report-maven-plugin icon indicating copy to clipboard operation
Jasper-report-maven-plugin copied to clipboard

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

Open kuhpid opened this issue 5 years ago • 2 comments

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.

kuhpid avatar Jan 15 '20 09:01 kuhpid

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

mmonge avatar Jan 19 '20 19:01 mmonge

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

ballonyi avatar Apr 22 '22 16:04 ballonyi