Log in or register to post comments To install a JAR in the Maven local repository execute below command in cmd/terminal: mvn install:install-file \ -Dfile=/filepath/filename.jar \ -DgroupId=com.pb \ -DartifactId=event \ -Dversion=0.0.1-SNAPSHOT \ -Dpackaging=jar \ -DgeneratePom=true Tags Java Interview Questions