Uploaded image for project: 'Maven Shade Plugin'
  1. Maven Shade Plugin
  2. MSHADE-421

Shade plugin with latest Spring Boot 2.7.0 breaks actuator endpoints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 3.3.0
    • None
    • None
    • Java 17, Maven 3.8.4

    Description

      I am using Java 17 and the latest maven shade plugin in version 3.3.0. While upgrading to the latest Spring Boot Version 2.7.0 maven shade seems to build the jar incorrectly.

      When running this jar, the actuator endpoints is not reachable anymore. I have no clue what is causing this issue and appreciate any help.

       

      Please have a look at a small demo I created which visualizes the problem.

       

      https://github.com/FloEberle/demo-spring-boot-maven-shade-actuator-endpoints-broken

       

      To be transparent: since I am unsure where the issue is originating from I also opened an issue in the spring boot project.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            floeberle Florian Eberle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: