Use below command:
mvn install:install-file -Dfile=<your jar file path> -DgroupId=<group id like org.apache.commons> -DartifactId=<artifact id like commons-pool> -Dversion=<jar version number> -Dpackaging=jar -DgeneratePom=true
Use below command:
mvn install:install-file -Dfile=<your jar file path> -DgroupId=<group id like org.apache.commons> -DartifactId=<artifact id like commons-pool> -Dversion=<jar version number> -Dpackaging=jar -DgeneratePom=true