Skip to content

Commit

Permalink
🐛 [Build] Fixed compilerArgs definition for Maven Compiler Plugin of …
Browse files Browse the repository at this point in the history
…Mapstruct args

Signed-off-by: Alberto Codutti <[email protected]>
  • Loading branch information
Coduz committed Dec 12, 2024
1 parent 38c4367 commit 64f457c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,10 @@
</path>
</annotationProcessorPaths>
<compilerArgs>
<compilerArg>
-Amapstruct.unmappedTargetPolicy=ERROR
-Amapstruct.unmappedSourcePolicy=WARN
-Amapstruct.suppressGeneratorTimestamp=true
-Amapstruct.suppressGeneratorVersionInfoComment=true
</compilerArg>
<compilerArg>-Amapstruct.unmappedTargetPolicy=ERROR</compilerArg>
<compilerArg>-Amapstruct.unmappedSourcePolicy=WARN</compilerArg>
<compilerArg>-Amapstruct.suppressGeneratorTimestamp=true</compilerArg>
<compilerArg>-Amapstruct.suppressGeneratorVersionInfoComment=true</compilerArg>
</compilerArgs>
</configuration>
</plugin>
Expand Down
10 changes: 4 additions & 6 deletions service/account/internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,10 @@
</path>
</annotationProcessorPaths>
<compilerArgs>
<compilerArg>
-Amapstruct.unmappedTargetPolicy=ERROR
-Amapstruct.unmappedSourcePolicy=WARN
-Amapstruct.suppressGeneratorTimestamp=true
-Amapstruct.suppressGeneratorVersionInfoComment=true
</compilerArg>
<compilerArg>-Amapstruct.unmappedTargetPolicy=ERROR</compilerArg>
<compilerArg>-Amapstruct.unmappedSourcePolicy=WARN</compilerArg>
<compilerArg>-Amapstruct.suppressGeneratorTimestamp=true</compilerArg>
<compilerArg>-Amapstruct.suppressGeneratorVersionInfoComment=true</compilerArg>
</compilerArgs>
</configuration>
</plugin>
Expand Down

0 comments on commit 64f457c

Please sign in to comment.