Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4419

Kogito aligned with non supported Spring Boot version

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • CR1
    • Workaround Exists
    • Hide
      1. Maintain order of imported BOMs, so that first goes Spring Boot BOM and Kogito specific BOM only after that
        • <dependencyManagement>
              <dependencies>
                  <dependency>
                      <groupId>dev.snowdrop</groupId>
                      <artifactId>snowdrop-dependencies</artifactId>
                      <version>2.5.12.Final-redhat-00001</version>
                      <type>pom</type>
                      <scope>import</scope>
                  </dependency>
                  <dependency>
                      <groupId>org.kie.kogito</groupId>
                      <artifactId>kogito-spring-boot-bom</artifactId>
                      <version>1.13.2.redhat-00002</version>
                      <type>pom</type>
                      <scope>import</scope>
                  </dependency>
              </dependencies>
          </dependencyManagement> 
      2. Align version of spring-boot-maven-plugin to the same version in your project build configuration\
        •     <plugins>
                <plugin>
                  <groupId>org.kie.kogito</groupId>
                  <artifactId>kogito-maven-plugin</artifactId>
                  <version>1.13.2.redhat-00002</version>
                  <extensions>true</extensions>
                </plugin>
                <plugin>
                  <groupId>org.springframework.boot</groupId>
                  <artifactId>spring-boot-maven-plugin</artifactId>
                  <version>2.5.12</version>
                  <executions>
                    <execution>
                      <goals>
                        <goal>repackage</goal>
                      </goals>
                    </execution>
                  </executions>
                </plugin>
              </plugins>
      Show
      Maintain order of imported BOMs, so that first goes Spring Boot BOM and Kogito specific BOM only after that <dependencyManagement>     <dependencies>         <dependency>             <groupId>dev.snowdrop</groupId>             <artifactId>snowdrop-dependencies</artifactId>             <version>2.5.12.Final-redhat-00001</version>             <type>pom</type>             <scope> import </scope>         </dependency>         <dependency>             <groupId>org.kie.kogito</groupId>             <artifactId>kogito-spring-boot-bom</artifactId>             <version>1.13.2.redhat-00002</version>             <type>pom</type>             <scope> import </scope>         </dependency>     </dependencies> </dependencyManagement> Align version of spring-boot-maven-plugin to the same version in your project build configuration\     <plugins>       <plugin>         <groupId>org.kie.kogito</groupId>         <artifactId>kogito-maven-plugin</artifactId> <version>1.13.2.redhat-00002</version>         <extensions> true </extensions>       </plugin>       <plugin>         <groupId>org.springframework.boot</groupId>         <artifactId>spring-boot-maven-plugin</artifactId> <version>2.5.12</version>         <executions>           <execution>             <goals>               <goal>repackage</goal>             </goals>           </execution>         </executions>       </plugin>     </plugins>
    • ---
    • ---

      Kogito Spring Boot versions are managed in kogito-spring-boot-bom, which imports dependency management from org.springframework.boot:spring-boot-dependencies BOM.

      The version currently aligned in 1.13.x branch is 2.6.6, which does not map to any Red Hat supported versions, latest supported is 2.5.12.

      Users need to override dependency management with a BOM aligning to Red Hat supported version (latest is 2.5.12).

       

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              jstastny@redhat.com Jan Stastny
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: