[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

There are a couple of mechanisms that exist in M2Eclipse for what we call materializing source or importing sources from an SCM.

Do you want to take the graph of a project and grab all the sources for all those projects so you can work on them all? Itâs hard for me to tell what you want to do from your Github page.

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?

> On Sep 10, 2015, at 3:13 AM, Barrie Treloar <baerrach@xxxxxxxxx> wrote:
> 
> Now that I've got the basisc of the git magic plugin sorted I'd like to hook that into m2eclipse.
> 
> So I'm after suggestions on where you think the logical place for that would be.
> 
> I'd like to see a context menu on the Dependencies page.
> (There is currently no context menu provided by m2eclipse on this page, there is one on the Dependency Hierarchy page for things like "Lock Transititve Dependency Version..." and "Exclude Maven Artiact...")
> 
> In the pom.xml raw editor page, some way to invoke it as well.
> Quick fix, right click > Maven > ...., Ctrl+space templates?
> Quick fix feels wrong as there is nothing to fix.
> Ctrl+space templates also feels wrong as this is to insert a change rather than modify the existing file.
> This only leaves right click context menu > Maven, which does hide the functionality a bit.
> 
> After the plugin completes, I need to import the new workspace and then refresh the current workspace making sure the classpath has been updated.
> 
> Does anyone have any advice?
> _______________________________________________
> 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

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder, Takari and Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

To think is easy. To act is hard. But the hardest thing in the world is to act in accordance with your thinking.

 -- Johann von Goethe