It is possible for a Maven plugin to provide lifecycle mapping metadata as part of the plugin itself.
https://eclipse.dev/m2e/documentation/m2e-execution-not-covered.html#lifecycle-mapping-metadata-provided-by-maven-plugin
Not sure if this means it can instruct Eclipse how to actually run goal(s) as part of the Eclipse build or not. This must be explored.
It is possible for a Maven plugin to provide lifecycle mapping metadata as part of the plugin itself.
https://eclipse.dev/m2e/documentation/m2e-execution-not-covered.html#lifecycle-mapping-metadata-provided-by-maven-plugin
Not sure if this means it can instruct Eclipse how to actually run goal(s) as part of the Eclipse build or not. This must be explored.
target/generated-test-sources/record-matchersto its test sources folder Add Eclipse m2e lifecycle mapping metadata #16make Eclipse execute thegenerateMojo to generate source code during the incremental build