mirror of https://github.com/apache/maven.git
add optional logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239663 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4935502fdf
commit
3576f334b6
|
@ -223,6 +223,13 @@ public abstract class AbstractCompilerMojo
|
|||
return;
|
||||
}
|
||||
|
||||
if ( getLog().isDebugEnabled() )
|
||||
{
|
||||
getLog().debug( "Source directories: " + compileSourceRoots.toString().replace( ",", "\n" ) );
|
||||
getLog().debug( "Classpath: " + getClasspathElements().toString().replace( ",", "\n" ) );
|
||||
getLog().debug( "Output directory: " + getOutputDirectory() );
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Create the compiler configuration
|
||||
// ----------------------------------------------------------------------
|
||||
|
@ -273,7 +280,7 @@ public abstract class AbstractCompilerMojo
|
|||
|
||||
canUpdateTarget = compiler.canUpdateTarget( compilerConfiguration );
|
||||
|
||||
if ( compiler.getCompilerOutputStyle() == CompilerOutputStyle.ONE_OUTPUT_FILE_FOR_ALL_INPUT_FILES &&
|
||||
if ( compiler.getCompilerOutputStyle().equals( CompilerOutputStyle.ONE_OUTPUT_FILE_FOR_ALL_INPUT_FILES ) &&
|
||||
!canUpdateTarget )
|
||||
{
|
||||
getLog().info( "RESCANNING!" );
|
||||
|
|
Loading…
Reference in New Issue