On Sat, Jul 21, 2018 at 9:27 AM Elliotte Rusty Harold <[email protected]> wrote:
> If anyone has sample code > that queries repos for dependencies without M2E, that would also be > helpful. I've put together a project that runs Maven/Aether dependency resolution internals in a CDI 2.0 SE container: https://microbean.github.io/microbean-maven-cdi/. Put this jar and its dependencies on your classpath, start a CDI 2.0 SE container, and off you go ( https://github.com/microbean/microbean-maven-cdi/blob/c5abd2e3c321020c419442c44ef726e48952d983/src/test/java/org/microbean/maven/cdi/TestMavenExtension.java#L91-L111 ). For those who are curious, Aether has a long history and is now known as maven-resolver: https://lairdnelson.wordpress.com/2017/03/06/maven-and-the-project-formerly-known-as-aether/ You can find examples of various kinds here: https://github.com/apache/maven-resolver/tree/master/maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/org/apache/maven/resolver/examples Hope that helps, Best, Laird
