mapstruct / mapstruct/mapstruct-idea
Support the '-Amapstruct.unmappedTargetPolicy' config of maven-compiler-plugin
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 168
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
When I use the `-Amapstruct.unmappedTargetPolicy=IGNORE` config in maven-compiler-plugin , `mapstruct-idea` don't understand this config, and the IDEA still throw warn msg 'Unmapped target properties'.
pom.xml
```xml
org.apache.maven.plugins
maven-compiler-plugin
true
com.github.therapi
therapi-runtime-javadoc-scribe
${therapi-runtime-javadoc-scribe.version}
org.springframework.boot
spring-boot-configuration-processor
${spring-boot.version}
org.projectlombok
lombok
${lombok.version}
org.mapstruct
mapstruct-processor
${mapstruct.version}
true
default-compile
compile
-Amapstruct.unmappedTargetPolicy=IGNORE
```

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.
Research direction
Start by tracing how mapstruct-idea reads Maven compiler arguments and MapStruct processor options; no source files or tests are named in the issue. Reproduce the pom.xml configuration, then verify that the IDE no longer reports unmapped target properties when the option is set to IGNORE.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100