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 metadata generated by the maven plugin and the gradle plugin do not match! #6758

Open
yuluo-yx opened this issue Jun 8, 2023 · 0 comments
Assignees

Comments

@yuluo-yx
Copy link

yuluo-yx commented Jun 8, 2023

Background

I used maven's NBT plugin and gradle's NBT plugin to try to generate relevant metadata of spring cloud alibaba nacos. However, I get different build results. Before that, I have referred to the doc documentation of gradle plugging and the metadatat documentation of graalvm. I'm not sure if it's something wrong with my gradle configuration or something else!

In addition, I found that there is no way to run through the agent's test with spring boot
see:

Demo

maven plugin: https://github.com/yuluo-yx/graalvm-demo
gradle plugin: https://github.com/yuluo-yx/graalvm-gradle-demo

Run

maven: mvn clean -Pnative spring-boot:run. After the program is successfully started for a period of time, stop the program to view the metadata files of the relevant directory. resources/META-INF/native/**
gradle: ./gradle -Pagent nativeTest View related metadata files in the built build folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants