[
https://issues.jboss.org/browse/SHRINKRES-7?page=com.atlassian.jira.plugi...
]
Andrew Rubinger commented on SHRINKRES-7:
-----------------------------------------
* Class on ClassPath but not provided by any GAV: unchecked exception, similar to
NoResolutionException
* Class on ClassPath many times: unchecked exception, similar to
NonUniqueResolutionException
* Same class name in different scopes: huh? A Class will resolve to a GAV based upon the
ClassLoader given to the "whatProvides" call (ie. Class.getClassLoader())
Makes sense?
Resolve GAV (ie. MavenDependency) from Class<?>
-----------------------------------------------
Key: SHRINKRES-7
URL:
https://issues.jboss.org/browse/SHRINKRES-7
Project: ShrinkWrap Resolvers
Issue Type: Feature Request
Reporter: Ondrej Zizka
Currently, MavenDependencyResolver.artifact() only accepts String.
I suggest to add .artifact( Class cls ) which would seek the G:A:V in metadata of the jar
which contains this class's package.
I think Karel Piwko did some research on this recently, right?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira