Bug 883814

Summary: Maven Plugin Validator does not support loading other plugins that are dependencies of the plugin being validated
Product: [Other] RHQ Project Reporter: Dhiraj Bokde <dbokde>
Component: TestsAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp, jshaughn, loleary
Target Milestone: ---   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to allow maven validator plugin to load dependency plugins none

Description Dhiraj Bokde 2012-12-05 11:32:51 UTC
Created attachment 658135 [details]
Patch to allow maven validator plugin to load dependency plugins

Description of problem:

Plugin Validator Maven plugin does not support validation of plugins that depend on other plugins

How reproducible:

Everytime

Steps to Reproduce:
1. Create a plugin that depends on another plugin, for example JMX
2. Add plugin validator maven plugin to project POM
3. Validation fails due to required plugin JMX not being loaded in the test plugin container
  
Actual results:

Error from plugin validator

Expected results:

The dependency plugin should be added to the maven pom, and the plugin validator should be able to load it. 

Additional info:

A patch for the validator is attached, which looks for other RHQ plugins, and loads them in the test plugin container.

Comment 2 Larry O'Leary 2013-08-09 14:29:13 UTC
Moving to RHQ as this is component is not part of JBoss ON.

Comment 3 Heiko W. Rupp 2014-05-08 14:42:38 UTC
Bump the target version now that 4.11 is out.