Maven - Adding Custom jar to dependancy in pom.xml

Hi Readers
In this scene you have some jar from third party. This could be jar provided by payment integration or sms integration party or from any other source.
And you are using Maven build system and listing your dependencies in pom.xml.

Now if you want to add your custom jar provided by third party to list in pom.xml dependency then you can write it like.


Here you are creating folder with name customJars at base directory level and placing you custom jars in that folder. This will be treated well and go along with your other dependencies in maven.