Hi

I need to read "implementation" value of a component with specified
"role" and "role-hint"
from "META-INF/plexus/components.xml" resource of dynamically resolved
artifact.

In other words I want to do the same thing Maven does configuring mojo
attributes
with @Component( role = AnInterface.class hint = "foo") annotation.
Maven finds implementation in the classpath, initializes implementation
object
and assigns to mojo attribute.

In my case I find and resolve an artifact containing the class
implementing "AnInterface.class" role
with "foo" hint (a have a well known pool of artifacts with different
implementations).
Now I need to get this implementation class name.

How can I do this?

Regards
Grzegorz Slowikowski

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to