We have groovy-all version 1.8.4 dependency configured in one of our Maven module POM files. When I tried to debug a script in that module IntelliJ threw a class not found error. A little digging revealed the Maven groovy-all dependency is an OSGI bundle and IntelliJ does not resolve the bundled dependencies when running or debugging a Groovy script from a Run/Debug configuration. The workaround was adding my local Groovy distribution as a global library then adding it to the module but that was less than ideal. Is there another way to deal with this issue when using Maven to manage the Groovy dependency? Thanks!