mvn install:install-file -Dfile=<path-to-file>
-DgroupId=<group-id> -DartifactId=<artifact-id>
-Dversion=<version> -Dpackaging=<packaging>Example for this:<dependency>
<groupId>com.jar.probe</groupId>
<artifactId>myJar</artifactId>
<version>1.0</version></dependency> the command is the next: mvn install:install-file -Dfile=myJar.jar -DgroupId=com.jar.probe -DartifactId=myJar -Dversion=1.0 -Dpackaging=jar
enjoy...