Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The spring metada file is missing in new versions of the library(>=8.5.8) #967

Open
bespaltovyj opened this issue Oct 1, 2024 · 0 comments

Comments

@bespaltovyj
Copy link

bespaltovyj commented Oct 1, 2024

Describe the bug

In spring stater library after version >=8.5.8 the final jar does not contain a file with spring metadata(spring-configuration-metadata.json).

The behavior was broken in the comit

To Reproduce

Update spring-zeebe to latest version in any project

Expected behavior

Result jar contains generated file spring-configuration-metadata.json with spring metadata

Log/Stacktrace

-

Environment:

  • OS: All
  • Deployment: -
  • Spring-Zeebe Version: >=8.5.6
  • SpringBoot Version: 3.x.x+
  • Configuration: -

To restore behavior need returned dependency

    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-configuration-processor</artifactId>
      <optional>true</optional>
    </dependency>

and exclude him from maven-dependency-plugin

<ignoredUnusedDeclaredDependency>
    org.springframework.boot:spring-boot-configuration-processor
</ignoredUnusedDeclaredDependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant