[
https://issues.jboss.org/browse/SHRINKRES-7?page=com.atlassian.jira.plugi...
]
Andrew Rubinger edited comment on SHRINKRES-7 at 9/22/12 5:47 AM:
------------------------------------------------------------------
While this feature may be useful, I don't think this makes sense as
"artifact(Class<?>)" from an API perspective. I believe this looks more
analogous to yum's "whatprovides" command, where we attempt first to resolve
a GAV, and then resolve an artifact from that GAV.
was (Author: alrubinger):
While this feature may be useful, I don't think this makes sense as
"artifact(Class<?>)" from an API perspective. I beleiev this looks more
analogous to yum's "whatprovides" command, where we attempt first to resolve
a GAV, and then resolve an artifact from that GAV.
MavenDependencyResolver.artifact( Class cls )
---------------------------------------------
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