ep.setProperty("org.java.plugin.boot.pluginsRepositories", sb
.toString());
collector.configure(ep);
Collection<PluginLocation> plugins = collector
.collectPluginLocations();
/**
* I know the following is really, really ugly, but I have found no
* way to automatically discover multiple plugin.xmls in JARs