[#11001] - Compiled libs not provided by Jasperreports 6.6.0

Category:
Bug report
Priority:
High
Status:
Feedback Requested
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

Hi,

I wanted to report that report that maven dependency says that It provides Spring framework but it doesn't.

<!-- https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/6.6.0 -->
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>6.6.0</version>
</dependency>

Spring framework actually is provided by castor-xml dependency (https://mvnrepository.com/artifact/org.codehaus.castor/castor-xml/1.3.3) which is compiled in Jasperreports 6.6.0 but it's doesn't not provide that.

But when I add my self same castor-xml/1.3.3 to my pom.xml all dependencies are back. So how can that be, in jasperreports 6.4.0 it works perfectly without this dependency.

<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-xml</artifactId>
<version>1.3.3</version>
</dependency>

Update:

Found jasperreports-6.6.0.jar\META-INF\maven\net.sf.jasperreports\jasperreports\pom.xml exlcudes spring context

<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-xml</artifactId>
<version>1.3.3</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</exclusion>
</exclusions>
</dependency>

jasperreports-6.4.0.jar\META-INF\maven\net.sf.jasperreports\jasperreports\pom.xml contains

<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-xml</artifactId>
<version>1.3.3</version>
<scope>compile</scope>
</dependency>

v6.6.0
jasper library
povilas809's picture
Joined: Dec 8 2016 - 4:17am
Last seen: 1 month 4 days ago

1 Comment:

#1
  • Status:New» Feedback Requested
  • Assigned:nobody» teodord

Hi,

Not sure what the problem is. Maybe you can provide more details.

Thanks,
Teodor

Feedback
randomness