Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] How to checkout Maven projects from a local Git repository?

1) I haven't had to manually configure git repositories in Eclipse in years, they share automatically when imported these days.

2)  Just FYI this will clone your git repository into your workspace and the upstream will be the other local repository.  I haven't used the Checkout from SCM in years either, try using File.toURI to validate the URIs maybe?

On 12 October 2015 at 10:21, Jochen Wiedmann <jochen.wiedmann@xxxxxxxxx> wrote:
Hi,

subject says it all. What I did try:

1.) Import the project as an "existing Maven project" (that worked
fine, of course), followed by Team->Share Project. Selected "Git" as
repository type, and clicked on either "Next", or "Finish". Nothing
happens.

2.) Import the project via "Checkout Maven Projects from SCM".
Initially, Git wasn't offered here, but I installed m2e-egit manually.
(Downloaded features. and plugins from (using [1] as an Eclipse update
URL failed). Now I could choose git as an SCM type. Entered the SCM
URL
file:///C:\Users\jwi\git\repo (the repository path), or
file:///C:\Users\jwi\git\repo\project (the project path). Again,
nothing happened.

What the heck am I doing wrong? Guys, M2E, and Git are the most
important tools in Java land nowadays. This has got to work somehow.

Thanks,

Jochen


[1] https://repository.takari.io/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/LATEST/

--
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg
_______________________________________________
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


Back to the top