JasperReports Maven broken?

时光怂恿深爱的人放手 提交于 2020-12-08 08:39:14

问题


I'm trying to add a dependency to JasperReports to my project (Tried SBT and Maven), but seems one dependency is broken. I'm using the latest version 6.1.0 from the maven repo (also tested with previous ones and same issue).

I also added the Jasper repository since the itext libs need to be grabbed from there.

But I keep getting these errors: [info] Resolving org.codehaus.castor#castor-xml;1.3.3 ... [warn] problem while downloading module descriptor: http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml/1.3.3/castor-xml-1.3.3.pom: invalid sha1: expected=c9d4075aabdeb9f81ba16455c5dadf2c1f687cb1 computed=a0bc9174f01de7be6d5bdcec580e6a3b999674ec (108ms) [warn] module not found: org.codehaus.castor#castor-xml;1.3.3

And: [info] Resolving org.olap4j#olap4j;0.9.7.309-JS-3 ... [warn] module not found: org.olap4j#olap4j;0.9.7.309-JS-3

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.codehaus.castor#castor-xml;1.3.3: not found
[warn]  :: org.olap4j#olap4j;0.9.7.309-JS-3: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

Is there any other repository hosting these?

UPDATE: I managed to find the olap dependency at: http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/

Still having problems getting the castor one though.


回答1:


There is a post at the jaspersoft community for this issue:

http://community.jaspersoft.com/questions/826431/failure-find-orgolap4jolap4jjar097309-js-3

EDIT:

The recommendation is to add additional maven repositories to your configuration, so that the missing artefacts can be found.

As already said this should be http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts to get olap4j.

I had no problem with the castor-xml artifact at maven-central: http://search.maven.org/#artifactdetails|org.codehaus.castor|castor-xml|1.3.3|jar



来源:https://stackoverflow.com/questions/30824672/jasperreports-maven-broken

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!