This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Follows up #225522. Steps to reproduce shown there. The problem is that `libs.lucene` bundles `lucene-core-3.5.0` which `maven.indexer` bundles `lucene-core-3.6.2`. There is nothing wrong with that in NetBeans since they will be in isolated class loaders. But an `nbm-application` can contain only one in its test classpath. Whichever you pick, `NbModuleSuite.S.rewrite` will complain about not being able to find the other one. Probably it should gracefully fall back to loading whichever variant was in the test classpath, after issuing a warning (particularly if that variant is older than the version declared in `Maven-Class-Path`).
bug #225522 that is
Workaround: .enableClasspathModules(false).clusters(".*")