Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Use m2e in another plugin

It may make more sense to use aether - https://projects.eclipse.org/projects/technology.aether

On Feb 19, 2018 02:20, <laeubi@xxxxxxxxxxxxxx> wrote:
Hi Brian,

thanks for the hint, one question about DependencyResolver:
With MavenPluginActivator you are pick up the "config" and then start the reloving yourself using Aether.

Is this doen to be as much independant from m2e as possible or because m2e has no methods to fetch dependecies directly?

regards
Christoph


Am 19.02.2018 um 04:36 schrieb Brian de Alwis:
On 17-Feb-2018, at 1:21 PM, laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx> wrote:

Hi,

I'd like two write a plugin that builds on top of m2e.
In this plugin I need the following function:

- find an artifact by groupid/artifactid/version
- find dependencies for this artifacr

can someone tell me if this is possible and where I have to start to get this information?

I don't want to gather this info in the context of a project (so no pom.xml) but completely programatic only based on the global m2e config found in Maven>>User Settings.

thanks in advance for any hint.
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx <mailto: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

_______________________________________________
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


Back to the top