Re: API to resolve a maven coordinate to a URL (no download)??

2015-01-17 Thread Dan Tran
Thank you all, I ended up using some of Jason's code but also consume remote maven-metadata.xml to resolve SNAPSHOT, LATEST, and RELEASE artifacts -D On Sat, Jan 17, 2015 at 8:05 AM, Jason Swank wrote: > Hi Dan, > > This is probably not really what you're looking for, but seems like a good > t

Re: API to resolve a maven coordinate to a URL (no download)??

2015-01-17 Thread Jason Swank
Hi Dan, This is probably not really what you're looking for, but seems like a good time to mention it. A feature was recently added to search.maven.org to assist with using a stable link to components in Central (for documentation and other spots where that is required) : given a group, artifact

Re: API to resolve a maven coordinate to a URL (no download)??

2015-01-17 Thread Jason van Zyl
You can probably pull what you need out of this: https://gist.github.com/jvanzyl/124eae3f387412cd5779 We'll be open sourcing the package this belongs at some point in the future but I think all you need is the coordinate --> maven repository path and then you can use whatever to download. I use

Re: API to resolve a maven coordinate to a URL (no download)??

2015-01-17 Thread Jeff MAURY
Have you looked at Aether ? Jeff On Sat, Jan 17, 2015 at 3:15 AM, Dan Tran wrote: > Hi > > Is there a API to convert a maven coordinate ( including snapshot) to a > URL? > > I would like the obtain the URL and and do the download myself > > > Thanks > > -Dan > -- Jeff MAURY "Legacy code"

API to resolve a maven coordinate to a URL (no download)??

2015-01-16 Thread Dan Tran
Hi Is there a API to convert a maven coordinate ( including snapshot) to a URL? I would like the obtain the URL and and do the download myself Thanks -Dan