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 164535e354
commit 24ac2f3963

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 --> <!-- due to problem in maven-compiler-plugin, for verbose mode add showWarnings -->
<showWarnings>true</showWarnings> <showWarnings>true</showWarnings>
<compilerArgs> <compilerArgs>
<compilerArg> <arg>
-Amapstruct.suppressGeneratorTimestamp=true -Amapstruct.suppressGeneratorTimestamp=true
</compilerArg> </arg>
<compilerArg> <arg>
-Amapstruct.suppressGeneratorVersionInfoComment=true -Amapstruct.suppressGeneratorVersionInfoComment=true
</compilerArg> </arg>
<compilerArg> <arg>
-Amapstruct.verbose=true -Amapstruct.verbose=true
</compilerArg> </arg>
</compilerArgs> </compilerArgs>
</configuration> </configuration>
</plugin> </plugin>