0

I would like to write a small application which downloads an artifact and its transitive dependencies from an m2-format repository.

There are two obvious choices for this; Eclipse Aether or Apache Ivy's API.

Are there any considerations I should make when picking between the two options?

jwa
  • 3,239
  • 2
  • 23
  • 54
  • Actually there may be more choices. If you are using a product for repository storage that has REST API, you can use that API then. Artifactory for example... – cantSleepNow Nov 10 '16 at 22:03
  • @cantSleepNow Thanks for the suggestion. I really want to avoid tying myself into a specific repository manager, I'd much rather stick to the standard protocol. – jwa Nov 10 '16 at 22:19
  • No need to write your own program, ivy has a command-line client, see: http://stackoverflow.com/questions/15598612/simplest-ivy-code-to-programmatically-retrieve-dependency-from-maven-central/15603465#15603465 – Mark O'Connor Nov 12 '16 at 00:13

0 Answers0