You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow to set-up MapStruct for Java projects through the plug-in #6
When working with a Maven project for which MapStruct is enabled (e.g. through via maven-processor-plugin), upon import of the project M2E will automatically configure the Eclipse project to run the MapStruct annotation processor.
But for plain "Java Project"s it'd be nice if the plug-in could be used to set up MapStruct. It could like this:
Under "Project Properties" have an entry "MapStruct"
On that page have a check box "Enable MapStruct for this project"; When checked this should register the annotation processor (AFAIK there is an extension point through which APs can be registered)
Allow to specify the processor options through check boxes as well
Optionally, have a global preferences pane which can be used to configure default values for the processor options which would be overridden by project-scoped settings
Very good idea! I think the features you've listed here can be realized using the Eclipse concept of Project Natures. A MapStruct Project Nature could be linked with the annotation processor.
Activity
wetzer commentedon Jan 23, 2015
Very good idea! I think the features you've listed here can be realized using the Eclipse concept of Project Natures. A MapStruct Project Nature could be linked with the annotation processor.
gunnarmorling commentedon Mar 12, 2015
E.g. this user in https://groups.google.com/forum/#!topic/mapstruct-users/0b-WOfgbLpE would benefit from this feature I guess :)