Author: lcorneliussen
Date: Thu May 10 17:12:12 2012
New Revision: 1336800

URL: http://svn.apache.org/viewvc?rev=1336800&view=rev
Log:
[NPANDAY-210] Deprecate includeSources in favor of include/exclude patterns

o Compile always / need to reimplement check for changes!

Modified:
    
incubator/npanday/trunk/plugins/maven-compile-plugin/src/main/java/npanday/plugin/compile/AbstractCompilerMojo.java

Modified: 
incubator/npanday/trunk/plugins/maven-compile-plugin/src/main/java/npanday/plugin/compile/AbstractCompilerMojo.java
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/plugins/maven-compile-plugin/src/main/java/npanday/plugin/compile/AbstractCompilerMojo.java?rev=1336800&r1=1336799&r2=1336800&view=diff
==============================================================================
--- 
incubator/npanday/trunk/plugins/maven-compile-plugin/src/main/java/npanday/plugin/compile/AbstractCompilerMojo.java
 (original)
+++ 
incubator/npanday/trunk/plugins/maven-compile-plugin/src/main/java/npanday/plugin/compile/AbstractCompilerMojo.java
 Thu May 10 17:12:12 2012
@@ -1187,7 +1187,7 @@ public abstract class AbstractCompilerMo
                 
generateAssemblyAttributesIfNecessary(compilerExecutable.getTargetFramework());
 
                 Boolean sourceFilesUpToDate = (Boolean) 
super.getPluginContext().get("SOURCE_FILES_UP_TO_DATE");
-                if (((sourceFilesUpToDate == null) || sourceFilesUpToDate) &&
+                if ((sourceFilesUpToDate != null && sourceFilesUpToDate) &&
                         System.getProperty("forceCompile") == null && 
compilerExecutable.getCompiledArtifact() != null &&
                         compilerExecutable.getCompiledArtifact().exists())
                 {


Reply via email to