Allow to set-up MapStruct for Java projects through the plug-in
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing Eclipse’s annotation-processor registration extension point and how project properties and global preferences are contributed for plain Java projects. Done means the plug-in can enable MapStruct, configure processor options at project scope, and optionally provide defaults that project settings override.
Written by the indexing model from the issue text.
Description
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
@larswetzer WDYT, would that make sense?
- Dominant language
- Java
- Stars
- 12
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapstruct/mapstruct-eclipse
-
help wanted
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mapstruct/mapstruct-eclipse#50 · 4 comments ·
-
help wanted
Difficulty 5/5 Over a week Newbie friendliness 25/100
mapstruct/mapstruct-eclipse#49 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
mapstruct/mapstruct-eclipse#41 · 1 comment ·
All issues in mapstruct/mapstruct-eclipse
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FasterXML/jackson-databind#6229 ·