mapstruct / mapstruct/mapstruct-examples
Add example of configuration arguments using Maven in Kotlin example
オープン
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 1.4k
- フォーク
- 504
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Can we get added to the pom.xml file in the kotlin example some configuration arguments?
Right now I have the following and it's not working...because kapt is being used rather than the maven compiler plugin for annotation processing (and after a lot of googling and searching, I can't find anything on how kapt processor args are meant to be formatted when using maven):
...
<annotationProcessorPaths>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
</annotationProcessorPaths>
<args>
<arg>-Amapstruct.defaultComponentModel=spring</arg>
<arg>-Amapstruct.unmappedTargetPolicy=IGNORE</arg>
<arg>-Amapstruct.suppressGeneratorTimestamp=true</arg>
<arg>-Amapstruct.suppressGeneratorVersionInfoComment=true</arg>
</args>
...
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
mapstruct-kotlin/pom.xml から始め、アノテーションプロセッサの設定を要求された MapStruct 引数と比較します。サンプルの Maven 設定が一覧にある引数を受け入れ、Kotlin のサンプルが引き続き正常にビルドできることを確認します。設定が使用可能な例として存在していれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- kotlin
- 領域
- build-system
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100