Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Maven deps in non Maven projects

Elliotte,  take a look at http://stackoverflow.com/questions/28558111/aether-to-fetch-the-artifact-from-repository-at-runtime. That should give you an idea about how to use the Aether API.

But the Aether project is dead now, so you need to replace the aether dependencies with their maven-resolver counterpart: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.maven.resolver%22 

On Wed, Apr 5, 2017 at 1:40 PM, Matthew Piggott <mpiggott@xxxxxxxxxxxx> wrote:
You can use dependency:copy-dependencies at CLI.

On 5 April 2017 at 13:38, Elliotte Rusty Harold <elharo@xxxxxxxxxxx> wrote:
Is anyone aware of a plugin that adds dependencies (jars) from Maven
central to *non-Maven* Eclipse project?

E.g. pop-up a dialog that takes as input Maven coordinates (groupID,
artifact ID, and version) and downloads and adds the transitive
dependency graph to the project?

If not, does anyone have sample code or docs showing how to traverse
the dependency graph through m2e or the Maven Artifact Resolver
library?

--
Elliotte Rusty Harold
elharo@xxxxxxxxxxx
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev



--
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5

Back to the top