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



On 11 September 2015 at 15:37, Anton Tanasenko <atg.sleepless@xxxxxxxxx> wrote:
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.


From the two options:
* Materialize Maven Binary Project seems to setup a Project from the binary's pom, I can't work out how to promote that to a source.

* Import Proejct(s) from SCM gives me the Import Maven Projects wizard with the selected artifact, and clicking on Finish then brings up the Import Maven Projects wizard - which I can't complete because the project hasn't been checked out.

But I'll have a look at what the source is doing.

I could have saved two weeks hacking this as a Mojo if I'd known it was already in M2Eclipse.
It needs more publicity.

Back to the top