You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Florian Eberle (Jira)" <ji...@apache.org> on 2022/06/09 15:57:00 UTC

[jira] [Updated] (MSHADE-421) Shade plugin with latest Spring Boot 2.7.0 breaks actuator endpoints

     [ https://issues.apache.org/jira/browse/MSHADE-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Eberle updated MSHADE-421:
----------------------------------
    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]

 

  was:
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 demonstrates the problem.

 

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

 


> Shade plugin with latest Spring Boot 2.7.0 breaks actuator endpoints
> --------------------------------------------------------------------
>
>                 Key: MSHADE-421
>                 URL: https://issues.apache.org/jira/browse/MSHADE-421
>             Project: Maven Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: Java 17, Maven 3.8.4
>            Reporter: Florian Eberle
>            Priority: Major
>
> 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]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)