Steps to reproduce : (Ensuring eclipse-m2e-core is installed) 1) hg clone http://icedtea.classpath.org/hg/thermostat 2) Start Eclipse on a separate workspace (thermostat is a fairly large project) 3) File -> Import -> Existing Maven Projects and point to the location of the thermostat project (top-level) 4) You may need to update all the maven projects, but once this is done, the following errors should be in the Problems View : Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed. (org.apache.maven.plugins:maven-resources-plugin:2.6:resources:default-resources:process-resources) pom.xml /thermostat-vm-heap-analysis-client-core line 47 Maven Build Problem or Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources failed. (org.apache.maven.plugins:maven-resources-plugin:2.5:resources:default-resources:process-resources) pom.xml /thermostat-assembly line 39 Maven Build Problem There's about 62 of these errors for me but they're pretty much identical. I believe I've identified the cause as being an NPE in org.codehaus.plexus.util.AbstractScanner#isIncluded called from org.eclipse.m2e.core.internal.builder.ResourceScanner @ line 67 : if(isIncluded(relpath) && !isExcluded(relpath)) { In plexus-utils < 3.0.5 (ie. F18) this would not be an issue, but as of 3.0.5 ( F19 + ) plexus-utils introduced a new API method "setupMatchPatterns()" and changed the implementation of "isIncluded/isExcluded/etc." to require that method to have been executed. I've attached a patch that seems to fix things for me (scratch build at http://koji.fedoraproject.org/koji/taskinfo?taskID=6016916) An additional specfile change was needed to get dependencies resolving properly.
Created attachment 806695 [details] Patch
Hi, I was seeing this issue (# of errors reported in eclipse varied from time to time but essentially same as described). After installing scratch build, issue seems to be fixed. Thanks a lot!!!!
Thanks for the bug report and the patch Roland (and thanks for the feedback Jon). I'll check it out tomorrow and push an update.
This happens to me too on Fedora 19, but not Fedora 18.
eclipse-m2e-core-1.4.0-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/eclipse-m2e-core-1.4.0-3.fc19
Although this will fix things for f19, I think this will need to be applied in rawhide, and f20 as well (since plexus-utils > 3.0.5 are present in those targets).
(In reply to Roland Grunberg from comment #6) > Although this will fix things for f19, I think this will need to be applied > in rawhide, and f20 as well (since plexus-utils > 3.0.5 are present in those > targets). Good point. I've added the fix to rawhide & f20 branches, and added the f20 build as an update. Thanks again!
Package eclipse-m2e-core-1.4.0-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing eclipse-m2e-core-1.4.0-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-18261/eclipse-m2e-core-1.4.0-3.fc19 then log in and leave karma (feedback).
eclipse-m2e-core-1.4.0-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.