This is what you should be doing inside dependencies section.
<dependency>
<groupId>com.company</groupId>
<artifactId>package</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${basedir}/path/to/jarfile.jar</systemPath>
</dependency>
Hope it helps.