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: https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts/
Still having problems getting the castor one though.
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 https://jaspersoft.jfrog.io/artifactory/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
The answer above worked for us...for a while. It appears that the provided URL (http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts) is giving 404's now. The new URL below is our current fix.
https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts
The old third party repository link is broken. Please set the pluginRepository URL to:
https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts
<pluginRepository>
<id>jasperreport-artifactory</id>
<url>https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts</url>
</pluginRepository>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With