Eclipse M2E lifecycle-mapping metadata xml for jaxws-maven-plugin was added already (issue #176, pull request #200).
However, according to the M2E documentation, plugins that generate code should also inject and use the BuildContext to check for modifications before generating code, and perform a refresh after generating code.
Currently when M2E executes the plugin, Eclipse displays "problems" relating to missing classes, and we need to refresh the source folder manually before Eclipse compiles the classes from generated source files.
Could somebody please add the code? I'm not confident enough to contribute the fix myself.
Eclipse M2E lifecycle-mapping metadata xml for jaxws-maven-plugin was added already (issue #176, pull request #200).
However, according to the M2E documentation, plugins that generate code should also inject and use the BuildContext to check for modifications before generating code, and perform a refresh after generating code.
Currently when M2E executes the plugin, Eclipse displays "problems" relating to missing classes, and we need to refresh the source folder manually before Eclipse compiles the classes from generated source files.
Could somebody please add the code? I'm not confident enough to contribute the fix myself.