How to add file .jar to pom.xml

You can add local dependencies directly see example

Example
<dependency>
  <groupId>sample</groupId>
  <artifactId>com.sample</artifactId>
  <version>1.0</version>
  <scope>system</scope>
  <systemPath>${project.basedir}/src/main/resources/yourJar.jar</systemPath>
</dependency>

Or add on lib

<dependency>
  <groupId>ProjectZen</groupId>
  <artifactId>community</artifactId>
  <scope>system</scope>
  <version>1</version>
  <systemPath>${basedir}/libs/ProjectZen.jar</systemPath>
</dependency>