Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Advice: Where to hook running my mojo into m2eclipse

Hi,
Select any number of entries under Maven Dependencies node in Project/Package Explorer, right click - Maven - Import projects from scm.
It requires corresponding maven scm connectors to be installed (m2eclipse-egit for git projects) and it basically checks selected dependencies out and shows you the usual maven project import dialog with checked out projects already filled in.
It doesn't update any poms though.

2015-09-11 3:41 GMT+03:00 Barrie Treloar <baerrach@xxxxxxxxx>:


On 11 September 2015 at 10:05, Jason van Zyl <jason@xxxxxxxxx> wrote:
I’m not sure if you know this already but you can click on a binary dependency in M2Eclipse and turn that binary project into a source project so that you can work on it. If you wanted to do it for all dependencies I’m sure we can figure that out but is that what you really want?

This is exactly what I want to do.

For an existing dependency in a pom:
* check out the depedency (from the dependency pom's SCM section
* bump the checkout to a snapshot
* update the current project to the new dependency version
* create an aggregator project that links these together

I've got all that working by hacking on scm:checkout

The last step is hooking into M2Eclipse so I dont need to do this on the command line.

If you are saying this already exists in M2Eclipse can you point me to it please?

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



--
Regards,
Anton.

Back to the top