tesla/m2eclipse-webby — pull request #7 by pascalleclercq (2014-10-01 21:24:31+00:00)
Title: static resources are not copied under m2e-webby #6

couldHoldIncluded throws a NullPointerException cause includesPatterns is null.

I just added scanner.setupMatchPatterns(); to populate It at the end of PathCollector's constructor.

Fixed Issue under NullPointerException :
17:48:34.623 [Worker-6] DEBUG o.e.m.c.i.builder.MavenBuilderImpl -
Exception in build participant
org.sonatype.m2e.webby.internal.build.WebbyBuildParticipant
java.lang.NullPointerException: null
at
org.codehaus.plexus.util.AbstractScanner.couldHoldIncluded(AbstractScanner.java:363)
~[plexus-utils-3.0.17.jar:na]
at
org.sonatype.m2e.webby.internal.util.PathCollector$DirectoryScannerEx.couldHoldIncluded(PathCollector.java:132)
~[na:na]
at
org.sonatype.m2e.webby.internal.util.PathCollector$1.visit(PathCollector.java:80)
~[na:na]