Warning:
Warning: Some problems were encountered while building the effective model for com.example:demo:native-image:0.1
Warning: 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.kafka:kafka-clients:jar -> version ${kafka.compat.version} vs ${kafka.version} @ io.micronaut.platform:micronaut-platform:4.6.1, /home/runner/.m2/repository/io/micronaut/platform/micronaut-platform/4.6.1/micronaut-platform-4.6.1.pom, line 2107, column 19
Warning:
Warning: It is highly recommended to fix these problems because they threaten the stability of your build.
Warning:
Warning: For this reason, future Maven versions might no longer support building such malformed projects.
Warning:
Expected Behavior
No warning is printed.
Actual Behaviour
A warning appears as part of the build log:
Steps To Reproduce
Compile a Micronaut starter into a JAR or native.
Environment Information
No response
Example Application
https://github.com/graalvm/graalvm-demos/actions/runs/10888287911/job/30212429591#step:4:12
Version
4.6.1