[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-7) MavenDependencyResolver.artifact( Class cls )
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Sat Apr 21 03:21:18 EDT 2012
[ https://issues.jboss.org/browse/SHRINKRES-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12686241#comment-12686241 ]
Andrew Rubinger commented on SHRINKRES-7:
-----------------------------------------
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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list