mirror of https://github.com/apache/maven.git
Added debug option to compiler configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163302 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
763811d0fa
commit
b7c04baca4
|
@ -97,7 +97,9 @@ public class CompilerMojo
|
|||
if ( debugAsString != null )
|
||||
{
|
||||
if ( Boolean.valueOf( debugAsString ).booleanValue() )
|
||||
compilerConfiguration.addCompilerOption("-g", null);
|
||||
{
|
||||
compilerConfiguration.setDebug( true );
|
||||
}
|
||||
}
|
||||
|
||||
List messages = compiler.compile(compilerConfiguration);
|
||||
|
|
Loading…
Reference in New Issue