1

I have an application that I package as multiple jars. Each JAR are uploaded to a private maven repository on a local server.

Is there an API that exists that would allow me to check if an update is available for one of my JAR exclusiveley on my local maven repository, directly from the java application, not from maven?

I would use this to develop an "auto-update" feature in my application. I figure that since maven is already built to search and download dependencies, why re-invent the wheel?

Thanks!

crazydread18
  • 77
  • 1
  • 9

1 Answers1

2

Answers to Using maven programmatically suggest looking at Aether. Some of the examples certainly look like it's possible to do what you're after.

Community
  • 1
  • 1
schweerelos
  • 2,189
  • 2
  • 17
  • 25
  • Seems like a good place to look! Apparently, Aether is the Maven artifact resolver, which is exactly what I am trying to do. I will give it a go! – crazydread18 Feb 24 '16 at 01:49