mapstruct / mapstruct-eclipse

An Eclipse plug-in for working with MapStruct
Other
13 stars 8 forks source link

Allow to set-up MapStruct for Java projects through the plug-in #6

Open gunnarmorling opened 9 years ago

gunnarmorling commented 9 years ago

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:

@larswetzer WDYT, would that make sense?

wetzer commented 9 years ago

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 commented 9 years ago

E.g. this user in https://groups.google.com/forum/#!topic/mapstruct-users/0b-WOfgbLpE would benefit from this feature I guess :)