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]
Should be fixed now...

2014-10-02 0:26 GMT+02:00 Rafał Krzewski <notifications@github.com>:

> In
> org.sonatype.m2e.webby/src/org/sonatype/m2e/webby/internal/util/PathCollector.java:
>
> > @@ -136,6 +137,10 @@ public boolean isSelected(String path) {
> >        return isIncluded(path) && !isExcluded(path);
> >      }
> >
> > +    @Override
> > +    protected void setupMatchPatterns() {
>
> I see the commit message change, but the method in still protected.
> Perhaps you forgot to git add the modified file before committing?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/tesla/m2eclipse-webby/pull/7/files#r18312502>.
>



-- 
Pascal Leclercq