Archive for November, 2012

Setting up Eclipse Classpath for Maven project

Wednesday, November 28th, 2012

So, first, once per workspace, we need to do this. (from any path)

mvn -Declipse.workspace=/path/to/eclipse/workspace eclipse:configure-workspace

This will add the maven repository lib folder as a variable to eclilpse

Then, per project, we do the following in the project file path (where the pom.xml is)

mvn eclipse:eclipse