if (notCleanFullBuild(kind)) {
Collection<String> includedFiles = new ArrayList<String>();
// check if any of the web resource files changed
for (File source : sources){
// TODO also analyze output classes folders as wro4j can use classpath files
Scanner ds = currentBuildContext.newScanner(source); // delta or full scanner
ds.scan();
includedFiles.addAll(Arrays.asList(ds.getIncludedFiles()));
}
if (isPomModified() || interestingFileChangeDetected(includedFiles, WRO4J_FILES_PATTERN)) {
//treat as new full build as wro4j only checks for classic resources changes during incremental builds
IProject project = getMavenProjectFacade().getProject();
currentBuildContext = new CleanBuildContext(originalBuildContext);