mapstruct / mapstruct/mapstruct-eclipse
Allow to set-up MapStruct for Java projects through the plug-in
未關閉
還沒有人認領這個 Issue。
- 主要語言
- Java
- 星號
- 12
- 分支
- 10
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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?
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先檢查 Eclipse 的 annotation-processor 註冊擴充點,以及如何為一般 Java 專案提供專案屬性和全域偏好設定。完成的標準是:該外掛程式能夠啟用 MapStruct,在專案範圍內設定處理器選項,並可選擇提供預設值,且專案設定能夠覆寫這些預設值。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- tooling
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100