Command to install dependency to m2 repository

mvn install:install-file -Dfile="<JAR FILE PATH>" -DgroupId="<GROUPID>" -DartifactId="<ARTIFACTID>" -Dversion="<VERSION>" -Dpackaging=jar