[
https://issues.jboss.org/browse/ISPN-7237?page=com.atlassian.jira.plugin....
]
Sebastian Łaskawiec edited comment on ISPN-7237 at 11/30/16 4:35 AM:
---------------------------------------------------------------------
After going through the discussion on [Infinispan Dev mailing
list|http://lists.jboss.org/pipermail/infinispan-dev/2016-February/016414...], I need to
deffer this issue. {{infinispan-spring4-embedded}} has no compile-time dependency to
infinispan (neither small nor uber jars). If we put it into {{infinispan-embedded}} this
might result in duplicated classes if anyone wants to put both
{{infinispan-spring4-embedded}} and {{infinispan-embedded}} on the classpath (which should
be a valid configuration).
If someone does not agree with this - please comment this issue.
was (Author: sebastian.laskawiec):
After going through the discussion on [Infinispan Dev mailing
list|http://lists.jboss.org/pipermail/infinispan-dev/2016-February/016414...], I need to
deffer this issue. {{infinispan-spring4-embedded}} has no compile-time dependency to
infinispan (neither small nor uber jars). If we put it into {{infinispan-embedded} this
might result in duplicated classes if anyone wants to put both
{{infinispan-spring4-embedded}} and {{infinispan-embedded}} on the classpath (which should
be a valid configuration).
If someone does not agree with this - please comment this issue.
Add Spring integrations into Uber Jars
--------------------------------------
Key: ISPN-7237
URL:
https://issues.jboss.org/browse/ISPN-7237
Project: Infinispan
Issue Type: Enhancement
Components: Spring Integration
Affects Versions: 9.0.0.Alpha1, 8.2.5.Final
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
Priority: Blocker
Fix For: 9.0.0.Beta1
Currently Spring modules are not present in Uber Jars. This is a bit problematic when
Spring Boot, since we require 4 dependencies (instead of 3):
{code}
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-embedded</artifactId>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-spring4-embedded</artifactId>
</dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>spring-boot-starter-infinispan</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
{code}
A side note - {{spring-boot-starter-infinispan}} has optional dependencies to Infinispan
as well as Spring. This aims for minimizing maintenance burden.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)