Reputation: 251
I have a remote Mercurial repository containing Maven projects. I would like to clone it into my Eclipse workspace for development.
I currently have Maven Integration for Eclipse installed through Eclipse Marketplace. I also have MercurialEclipse. But I can't checkout the code as Maven projects. When I checkout normally, only the parent project code is fully downloaded which makes sense because the Maven nature is not identified.
I have svn integrated fine, and I have the plugin "Maven SCM Handler for Subclipse" so I can easily checkout the projects from svn as Maven projects. Is there something like this for Mercurial?
Also I checked "File->New->Other->Maven->Checkout Maven Projects from SCM", and I see only svn in the dropdown.
Please let me know if the Maven-Mercurial integration in eclipse is possible.
Thanks for looking into this.
Upvotes: 3
Views: 1291
Reputation: 399
You can clone and configure a multiple module project using MercurialEclipse and Maven plugins from Eclipse IDE performing the following steps.
Finally, you will get your multi module project cloned and configured as maven project.
Upvotes: 1
Reputation: 37916
I use MercurialEclipse plugin and do Checkout in other way:
mvn eclipse:eclipse
in command lineUpvotes: 0
Reputation: 4040
I do that every day at work and there is a small trick for it.
Try to do it in this order:
And that's it. For multiple module project, you might have to repeat steps 3 and 4 for each of them.
For info i am using the version 1.2.0 of the maven plugin and for the mercurial one i use the one from the new website: https://bitbucket.org/mercurialeclipse/main/wiki/Home
and configured with an external mercurial client.
Upvotes: 2