mapstruct / mapstruct/mapstruct-examples
Mapstruct issue on Eclipse (1.4.2.Final)
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 1.4k
- フォーク
- 504
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I have an issue to setup Mapstruct on eclipse (Version: 2021-03 (4.19.0), Build id: 20210312-0638) with following gradle setting:
implementation "org.mapstruct:mapstruct:$mapstructVersion"
annotationProcessor "org.mapstruct:mapstruct-processor:$mapstructVersion"
annotationProcessor "org.projectlombok:lombok-mapstruct-binding:0.2.0"
annotationProcessor "org.projectlombok:lombok"
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
It seems it doesn't generate .factorypath when I tried to run gradle tasks: cleanEclipse and eclipse
It works and everything is fine if I add follow gradle plugin:
plugins {
id 'java'
id 'eclipse-wtp'
id 'org.springframework.boot' version '2.3.12.RELEASE'
id 'io.franzbecker.gradle-lombok' version '4.0.0'
id 'net.ltgt.apt-eclipse' version '0.21'
}
But there is a drawback that this net.ltgt.apt-eclipse doesn't work on gradle 7.1.1 and I need to use the older version gradle-6.9
However developers like me prefer to install MapStruct Eclipse Plugin and it's supposed to make things work around without require developers to add net.ltgt.apt-eclipse
I look forward to this potential fix.
Regards.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、記載されている Gradle 設定と cleanEclipse および eclipse タスクを使ってセットアップを再現し、Gradle 7.1.1 を、動作する Gradle 6.9 および net.ltgt.apt-eclipse プラグインと比較します。Eclipse とアノテーション処理の設定を調査します。完了の条件は、そのプラグインなしで必要な .factorypath が生成され、Eclipse で MapStruct が動作することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100