Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Project Configuration
-
Labels:None
Description
I have a jaxb2 plugin that I have configured, and which attaches itself to the generated-sources plugin. However, while m2eclise does add the /target/generated-classes/xjc folder to the source paths, it doesn't execute the source generation via the incremental compiler before re-compiling, so I end up having to execute "mvn generate-sources" manually from the command-line, then refresh.
Issue Links
- is related to
-
MNGECLIPSE-616
better out of the box experience
-
- relates to
-
MNGECLIPSE-163
Plugin doesn't add extra sources directories which are added using the build-helper-maven-plugin
-
I think we already have duplicated issue for this somewhere, In a mean time you can try the following options:
The last two options are available in project preferences dialog (respectively Maven and Builders)
- use run Maven / Update Source Folders from Eclipse if you need to regenerate your classes (assuming that goal to run on project update is set to "generate-sources" in global Maven configuration).
- try to add your plugin goal to the list of goals executed for resource filtering in Maven settings for the given project.
- add Maven builder to the project that would run your plugin on resource change
The last two options are available in project preferences dialog (respectively Maven and Builders)