我正在尝试使用 mave-compiler-plugin 添加调试符号(这样我就可以访问方法参数名称)。按照可在此处找到的可用配置,这是我的 maven-compiler-plugin 配置
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgument>-Xlint:all</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<debug>true</debug>
<debugLevel>lines,vars,source</debugLevel>
</configuration>
</plugin>
直到现在,我还没有成功。
有人可以让我知道如何使用 maven 添加调试符号吗?