-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
RHDG 8.3.1 GA, RHDG 8.4.9 GA
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
-
Data Grid Spring Boot Starter pom.xml configuration specifies a wrong artifact which does not exist. It's also missing specifying version.
- Red Hat Data Grid 8.4 - Data Grid Spring Boot Starter - Chapter 1. Setting Up Your Project
<dependencyManagement> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-bom</artifactId> <version>${version.infinispan}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>${version.spring.boot}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-spring-boot3-starter</artifactId> </dependency> </dependencies> </dependencyManagement>
- Red Hat Data Grid 8.3 - Data Grid Spring Boot Starter - Chapter 1. Setting Up Your Project shows
<dependencyManagement> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-bom</artifactId> <version>${version.infinispan}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>${version.spring.boot}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-spring-boot-starter</artifactId> </dependency> </dependencies> </dependencyManagement>
However, both "infinispan-spring-boot-starter" and "infinispan-spring-boot3-starter" does not exist.
I think it should be "infinispan-spring-boot-starter-parent" and "infinispan-spring-boot3-starter-parent" instead. For example:
- For Spring Boot 3.x, it should be:
<dependencyManagement> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-bom</artifactId> <version>${version.infinispan}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>${version.spring.boot}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-spring-boot3-starter-parent</artifactId> <version>${version.infinispan}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
- For Spring Boot 2.x, it should be:
<dependencyManagement> <dependencies> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-bom</artifactId> <version>${version.infinispan}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>${version.spring.boot}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-spring-boot-starter-parent</artifactId> <version>${version.infinispan}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
It looks like the same issue exists in the upstream documentation, too: https://infinispan.org/docs/stable/titles/spring_boot/starter.html