[ 
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]

 

To be transparent: since I am unsure where the issue is originating from I also 
opened an [issue|https://github.com/spring-projects/spring-boot/issues/31316] 
in the spring boot project.

 

  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 visualizes 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]
>  
> To be transparent: since I am unsure where the issue is originating from I 
> also opened an 
> [issue|https://github.com/spring-projects/spring-boot/issues/31316] in the 
> spring boot project.
>  



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

Reply via email to