Maven add an external jar to repositories

If you want to be able to add external jar files from your local machine to maven, do these:

2. In your pom.xml


[STARTER] JAX-RS: Jersey + Servlet 3.0 + Maven + Tomcat

Steps to configure a JAX-RS project that runs on Tomcat (here 8), Maven, Servlet 3.0 and having Jersey as a Reference Implementation. 1. Maven POM.XML dependencies:

  2. web.xml (src/main/webapp/WEB-INF)  

3. Application class (under: src/main/java/com/vvirlan/java/ws

4. Resource class (which is the actual web service endpoint):  

5. Build the…