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:
Michael Düsterhus 2020-12-14 11:44:04 +01:00 committed by Filip Hrisafov
parent 84c3bda5a2
commit e73dd1b485

View File

@ -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>