Indeed for NetBeans this codepath should not be hit. If permissions were somehow messed with though, the file might indeed be unreadable and thus explain why the "load from classpath" route is taken.
Apache NetBeans Maven Utils parent pom. Contribute to apache/netbeans-mavenutils-nbm-maven-plugin development by creating an account on GitHub.