I have Eclipse: eclipse-jee-juno-win32. I need to create Maven project with it, but the problem is, I have been searching how to install maven plugin or something, that I could be able to create maven projects. Unfortunately I can not find anything.
Can anybody provide me some information how to create maven projects in Eclipse? Previously I have been always using IntelliJ, but now I need to use Eclipse and it is been the first time I have run it.
You have 2 options.
In Eclipse, open Help/Eclipse Marketplace, then write maven. You will see maven integration for Eclipse. I don’t like it because in my work we have too big projects for it. But if you have something small, it’s probably the best choice.
Use manually building with WTP plugin.
Add to your pom.xml:
pom.xml:
And then in your root directory (where pom.xml exists)
It creates all eclipse structure (with all jars included to your project). Then you just need to import existing project into workspace: File/Import/General/Existing project into workspace, choose directory with your project