Re: Accessing a maven repository programatically (in 2019)

2019-04-22 Thread Henning Schmiedehausen
This repo: https://github.com/airlift/resolver should have all you need. The Presto engine uses it to discover and load plugins if necessary from the local or remote repo. It uses the sonatype version of Aether, not the current Apache Maven Artifact Resolver but my guess is that this is

Re: Accessing a maven repository programatically (in 2019)

2019-04-21 Thread Michael Lipp
On 2019/04/08 11:21:19, Paul Hammant wrote: > There's shades of https://en.wikipedia.org/wiki/XY_problem to what you> > posting. I, for one, an interested in what your trying to make after you've> > solved this problem :)> It's not trivial. There is a tool called "bnd" that supports the

Re: Accessing a maven repository programatically (in 2019)

2019-04-08 Thread Paul Hammant
There's shades of https://en.wikipedia.org/wiki/XY_problem to what you posting. I, for one, an interested in what your trying to make after you've solved this problem :)

Re: Accessing a maven repository programatically (in 2019)

2019-04-08 Thread Elliotte Rusty Harold
Despite the package name org.eclipse, these are all parts of Apache Maven. The Eclipse package name is a historical artifact. On Mon, Apr 8, 2019 at 1:49 AM Michael Lipp wrote: > > Thanks to everybody who answered. However, I'm utterly confused. > > The references to the examples >

Re: Accessing a maven repository programatically (in 2019)

2019-04-07 Thread Michael Lipp
Thanks to everybody who answered. However, I'm utterly confused. The references to the examples (https://github.com/GoogleCloudPlatform/cloud-opensource-java/tree/master/dependencies and

Re: Accessing a maven repository programatically (in 2019)

2019-04-07 Thread Hervé BOUTEMY
with corresponding site published at https://maven.apache.org/resolver/maven-resolver-demos/ and don't hesitate to provide PRs to improve Maven Resolver introduction or documentation https://maven.apache.org/resolver/index.html Regards, Hervé Le dimanche 7 avril 2019, 11:23:39 CEST Olivier

Re: Accessing a maven repository programatically (in 2019)

2019-04-07 Thread Olivier Lamy
Hi You will find plenty of examples of how to use maven-resolver here https://github.com/apache/maven-resolver/tree/master/maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/org/apache/maven/resolver/examples HTH Olivier On Sat, 6 Apr 2019 at 23:07, Michael Lipp wrote: > Hi, > >

Re: Accessing a maven repository programatically (in 2019)

2019-04-06 Thread Manfred Moser
Michael, Have a look at my Maven Repository Provisioner codebase. It does exactly what you want and also includes dependencies and upload to a repo manager. It now uses the Maven Resolver in the latest version so its up to date.. https://github.com/simpligility/maven-repository-tools

Re: Accessing a maven repository programatically (in 2019)

2019-04-06 Thread Elliotte Rusty Harold
"Aether" and the Apache Maven resolver are supported. However the docs for this are in very bad shape, and a naive Google search is likely to point you to a lot of outdated and misleading information. https://github.com/GoogleCloudPlatform/cloud-opensource-java/tree/master/dependencies has code

Accessing a maven repository programatically (in 2019)

2019-04-06 Thread Michael Lipp
Hi, I've spent considerable time on researching this, but to no avail. The closest answer that I have found was on Stackoverflow (https://stackoverflow.com/questions/11674537/retrieving-maven-artifact-from-repository-using-maven-java-api). But it points me to Eclipse Aether, which has been