]
Sebastian Łaskawiec reassigned ISPN-5919:
-----------------------------------------
Assignee: Sebastian Łaskawiec
infinispan-embedded does not package transitive compile dependencies
--------------------------------------------------------------------
Key: ISPN-5919
URL:
https://issues.jboss.org/browse/ISPN-5919
Project: Infinispan
Issue Type: Bug
Components: Build process
Affects Versions: 8.0.0.Final
Environment: Windows 7, Maven 3.3.3
Reporter: Manish Velankar
Assignee: Sebastian Łaskawiec
Priority: Blocker
Labels: maven
I am using Infinispan in my project (in embedded mode), and have included fhe following
POM dependency:
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-embedded</artifactId>
<version>8.0.0.Final</version>
<scope>compile</scope>
</dependency>
I also have many other tool dependencies in my project's POM. When creating a war
file out of my project POM, the infinispan-embedded jar gets packaged without its
transitive compile dependencies, and hence at runtime, the infinispan cache fails to start
with NoClassDefFoundError. All other tools used in the project get packaged with their
corresponding transitive dependencies, which are also listed when printing Maven's
dependency tree, except for the dependency hierarchy of Infinispan-embedded.
Regards,
Manish Velankar.