Maven Native plugin fails on POM packaging projects #490
Labels
enhancement
New feature or request
invalid
This doesn't seem right
maven-plugin
Related to Maven plugin
I am adding native-image support to an open source project by user request. I would like to run all of my project's tests through the native build pipeline in order to verify that the provided
native-image.properties
configuration works. I addnative-maven-plugin
test-native
per documentation to the project parent pom.jar
packaging projects work fine, but we have a fewpom
packaging projects (like a BOM) and these fail with:The project is a POM, there is no classpath, and this is okay. Should the native-maven-plugin skip such projects entirely?
Workaround: add a file-missing activation to the
native
profile, and then create that file in each project you wish to skip native processing.The text was updated successfully, but these errors were encountered: