On 2017-01-01T17:37:26 +0100 "Robert Scholte" <rfscho...@apache.org> wrote:
> Hi, > > doing this outside the context of Maven is probably hard to do. What you > at least need is the maven-artifact-resolver[1] (that's the project where > the development of Eclipses Aether[2] continues), though is has not been > released yet, so right now using Aether would be an option. > You'll also need a maven-aether-provider[3]. > I would expect that with these projects you should be able to do your > stuff, although doing it with a custom maven-plugin is probably a lot > easier. > > Robert > > [1] https://maven.apache.org/components/resolver-archives/resolver-LATEST/ > [2] http://www.eclipse.org/aether/ > [3] http://maven.apache.org/ref/3.3.9/maven-aether-provider/ > 'Ello. Thanks for these. I should elaborate what I'm trying to do. I'm writing a small game and the game is designed to support third party modification out of the box. What this means in practical terms is that the game ships with a simple launcher and a directory full of jar files and their associated Maven POMs. In the launcher, the user states that they want to run the game with any extra specified mod packages, and the launcher analyzes the local POM files of the packages to determine if all of the dependencies are met (and will fetch packages from our server or Maven Central if the dependencies aren't currently installed). So, there isn't actually a plugin as all of this is happening post "deployment". I'll have a go at a proof of concept with the links you've provided. M
pgp1Bpvckdgfd.pgp
Description: OpenPGP digital signature