mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Update chapter-2-set-up.asciidoc
See official maven doc on this: https://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html Otherwise for example intellij doesn't recognize the compiler options on maven import
This commit is contained in:
parent
84c3bda5a2
commit
e73dd1b485
@ -187,15 +187,15 @@ When invoking javac directly, these options are passed to the compiler in the fo
|
||||
<!-- due to problem in maven-compiler-plugin, for verbose mode add showWarnings -->
|
||||
<showWarnings>true</showWarnings>
|
||||
<compilerArgs>
|
||||
<compilerArg>
|
||||
<arg>
|
||||
-Amapstruct.suppressGeneratorTimestamp=true
|
||||
</compilerArg>
|
||||
<compilerArg>
|
||||
</arg>
|
||||
<arg>
|
||||
-Amapstruct.suppressGeneratorVersionInfoComment=true
|
||||
</compilerArg>
|
||||
<compilerArg>
|
||||
</arg>
|
||||
<arg>
|
||||
-Amapstruct.verbose=true
|
||||
</compilerArg>
|
||||
</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
Loading…
x
Reference in New Issue
Block a user