How do I add external jar files to maven web app project using Eclipse M2 Plugin?
Asked
Active
Viewed 1.8k times
0
-
2What do you mean by "external jar file" ? Usually you add them as dependencies in Eclipse use Pom file view go to tab **Dependencies** and push button **Add** and type in coordinates. – khmarbaise Apr 15 '13 at 16:47
-
1I want to add a jar file that I added to my projects build path thats not in the maven repository. – user2054833 Apr 15 '13 at 16:50
2 Answers
1
The most correct way is probably to install them to the repo.
However, for an alternate, see the top answer to:
Can I add jars to maven 2 build classpath without installing them?
0
You want to use mvn install:install-file. See here for the instructions in the Maven guide:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

g051051
- 1,021
- 5
- 11