
In fact I couldn't find a way to do this without using the command line. I've been looking into this and I've got to say, it's more complicated than it should be!įirst off: Putting a jar in the Java Build Path of an Eclipse project is not going to work. jar that I can't find any maven repository to match it, is it ok to leave those few jar files in eclipse "java build Path"-> library ? But how does it work if I use pom.xml ? Does pom.xml support such scenario ? When I click eclipse project -> build all, it also compiles project, is it true this compile uses a combination of those customized jars under eclipse "java build Path"-> library AND maven dependency lib ? I see both of them under eclipse "java build Path"-> library, so I assume eclipse uses both of them when compiling the project.ģ. Now, is it true this pom.xml compile only uses maven's dependency library WITHOUT using any of the customized jar files that are under eclipse "java build Path"-> library ?Ģ.
#How to install maven jar in eclipse code
In "java build Path"-> library, I still have few customized jar files, when I right click pom.xml->run as configuration (where I set maven clean/install to run), it compiles code well.

jar files that were originally under eclipse "java build Path"-> library. It creates a pom.xml and I created bunch of that matches to most of the.

I have a j2ee project in eclipse and I have converted it into a Maven project using Eclipse configure feature.
