Add example of configuration arguments using Maven in Kotlin example
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- kotlin
- Domain
- build-system
Research direction
Start with mapstruct-kotlin/pom.xml and compare its annotation processor configuration with the requested MapStruct arguments. Verify the example's Maven configuration accepts the listed arguments and that the Kotlin example still builds successfully; done means the configuration is present as a usable example.
Written by the indexing model from the issue text.
Description
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>
...
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 504
- 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-examples
-
Java 21 support Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mapstruct/mapstruct-examples#153 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapstruct/mapstruct-examples#149 · 1 comment ·
-
mapstruct-protobuf3 use lombok:UnsupportedOperationException(Collections$UnmodifiableCollection) Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
mapstruct/mapstruct-examples#142 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
mapstruct/mapstruct-examples#138 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapstruct/mapstruct-examples#128 · 1 reaction ·
All issues in mapstruct/mapstruct-examples
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Openbug frontend maui-pilot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100