I usually work with .NET WinForms but now have to work on some Java apps that other team members have written. They have a bunch of POM.XML files so I know it is running bu Maven but not familiar with Maven, so here are the steps I have done so far:
- Installed some Subversion plugins in EClipse and checked out their project.
- There was no small “M” icon next to those projects, so I did a right click and there was some command like Convert to Maven or something like that which I selected and now they are Mavenized ! I guess
- But there are many compile errors , what is the step to fix them? maybe I haven’t even compiled the projects yet? what is the order of steps I should take after this point? I have seen some “mvn clean install” coomands fold run but like I said not sure what is next?
So far I have checked out the projects into eclipse and have right cliecked and said convert to maven.
mvn clean installat the root level (the first level that contains a pom). This will perform the build, which includes downloading all of the libraries.Import Existing Maven Projectin eclipse. This will be safer than importing the project and then trying to convert to eclipse...)In order for this to work, you should at least have the m2e plugin for eclipse. I think it’s standard in the Java EE version of eclipse.