Mapstruct issue on Eclipse (1.4.2.Final)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- java
- 领域
- build-system
调研方向
首先使用列出的 Gradle 设置以及 cleanEclipse 和 eclipse 任务复现该设置,并将 Gradle 7.1.1 与正常工作的 Gradle 6.9 和 net.ltgt.apt-eclipse 插件进行比较。调查 Eclipse 和注解处理配置;完成的标准是在不使用该插件的情况下生成所需的 .factorypath,并且 MapStruct 能在 Eclipse 中工作。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Java
- 星标
- 1.4k
- 派生
- 504
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mapstruct/mapstruct-examples 的其他 Issue
-
Java 21 support 未关闭
难度 4/5 3-5 天 新手友好度 35/100
mapstruct/mapstruct-examples#153 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
mapstruct/mapstruct-examples#149 · 1 条评论 ·
-
mapstruct-protobuf3 use lombok:UnsupportedOperationException(Collections$UnmodifiableCollection) 未关闭
难度 2/5 1-3 小时 新手友好度 45/100
mapstruct/mapstruct-examples#142 ·
-
难度 4/5 3-5 天 新手友好度 15/100
mapstruct/mapstruct-examples#138 ·
-
难度 4/5 3-5 天 新手友好度 25/100
mapstruct/mapstruct-examples#128 · 1 个 reaction ·
查看 mapstruct/mapstruct-examples 的全部 Issue
相似的 Issue
-
bug untriaged
难度 2/5 1-3 小时 新手友好度 84/100
opensearch-project/ml-commons#5094 ·
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
-
emitter:client:csharp feature
难度 2/5 1-3 小时 新手友好度 72/100
-
affects/8.10 affects/8.9 component/clients kind/bug likelihood/mid severity/mid
难度 2/5 1-3 小时 新手友好度 78/100
-
bug frontend maui-pilot
难度 2/5 1-3 小时 新手友好度 72/100