Permalink
Browse files

fix NPE when running mvn clean

  • Loading branch information...
graemerocher committed May 15, 2012
1 parent 4fdbb6b commit f9b9cc11e452b047256a0339019e9bd5cba00526
Showing with 1 addition and 0 deletions.
  1. +1 −0 grails-bootstrap/src/main/groovy/grails/util/BuildSettings.groovy
@@ -446,6 +446,7 @@ class BuildSettings extends AbstractBuildSettings {
}()
private List<File> findAndRemovePluginDependencies(String scope, List<File> jarFiles, List<File> scopePluginDependencies) {
+ jarFiles = jarFiles?.findAll { it != null} ?: []
def pluginZips = jarFiles.findAll { it.name.endsWith(".zip") }
for (z in pluginZips) {
if (!pluginDependencies.contains(z)) {

0 comments on commit f9b9cc1

Please sign in to comment.