graalvm / native-build-tools

Native-image plugins for various build tools
https://graalvm.github.io/native-build-tools/
Other
348 stars 51 forks source link

`metadata-copy` should follow recommendation #579

Closed fniephaus closed 3 weeks ago

fniephaus commented 4 months ago

On the GraalVM website, we recommend to put metadata into directory following this pattern:

foo.jar has its configurations in META-INF/native-image/foo_groupID/foo_artifactID bar.jar has its configurations in META-INF/native-image/bar_groupID/bar_artifactID

It seems that the metadata-copy copies metadata into just /META-INF/native-image. Would be great if we could adjust it so that it follows our recommendation.

vjovanov commented 3 weeks ago

@dnestoro is this issue fixed?

dnestoro commented 3 weeks ago

Kind of... for gradle we are just suggesting (in our docs) where should user copy metadata files (and we won't have default value for it in the plugin implementation), while maven has actual default directory for metadataCopy task.

So this issue can be closed