[infinispan-issues] [JBoss JIRA] (ISPN-5919) infinispan-embedded does not package transitive compile dependencies
Manish Velankar (JIRA)
issues at jboss.org
Thu Nov 5 04:32:00 EST 2015
Manish Velankar created ISPN-5919:
-------------------------------------
Summary: 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
Priority: Blocker
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list