Uploaded image for project: 'ENTSBT'
  1. ENTSBT
  2. ENTSBT-1178

Spring Boot Maven Plugin the version should be 2.4.9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.4.9.GA
    • 2.4.9.GA
    • documentation
    • None

      According to the document, 2.2. Using the Spring Boot BOM to manage dependency versions[1], guides to use "<spring-boot-maven-plugin.version>2.4.9.RELEASE</spring-boot-maven-plugin.version>" but it must to be "2.4.9" since Spring Boot 2.4 doesn't support prefix version. It causes the following error:
      ```

      [ERROR] No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/cmoullia/.m2/repository), redhat-ga (https://maven.repository.redhat.com/ga/), central (https://repo.maven.apache.org/maven2)] -> `[Help 1]

      ```

      So if you replace it with "2.4.9", the spring boot 2.4.9 app can be built properly.

      [1] https://access.redhat.com/documentation/en-us/red_hat_support_for_spring_boot/2.4/html-single/spring_boot_runtime_guide/index#using-the-spring-boot-bom-to-manage-dependency-versions_configuring-your-application-to-use-spring-boot

            amehenda@redhat.com Ashwin Mehendale
            doh@redhat.com Daniel Oh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: