Red Hat Bugzilla – Bug 759152
Plugin install does not tell that a plugins needs a dependency
Last modified: 2011-12-15 10:26:52 EST
Start with a fresh RHQ instance, do not install jboss-as and jboss-cache plugin by default
Go to the admin UI, upload the jboss-cache plugin. UI will show a green bar, but the plugin is not showing up, no matter how often I press scan for updates, Server log shows 
Only then when I upload the as5 plugin, the cachev3 plugin shows up in the list.
We should show a message in the UI that the cache plugin is not deployed because of missing dependencies.
15:33:14,807 INFO [ProductPluginDeployer] Deploying  new or updated agent plugins: [JBossCache3]
15:33:14,807 ERROR [ProductPluginDeployer] Plugin [JBossAS5] is required by plugins [[JBossCache3]] but it does not exist in the dependency graph yet
15:33:14,807 INFO [PluginDependencyGraph] Reducing dependency graph by not including plugin [JBossCache3]. Cause: java.lang.IllegalArgumentException: Plugin [JBossAS5] is required by plugins [[JBossCache3]] but it does not exist in the dependency graph yet
15:33:14,807 INFO [ProductPluginDeployer] Plugin metadata updates are complete for  plugins: