This video explains how to add external/custom jars into Maven local repository. This is necessary in the case when the jar file required by your project may not be available in any repository for maven to download from.
The command used in the tutorial:
mvn install:install-file -Dfile= -DgroupId=com.tibco -DartifactId=tibjms -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
For a tutorial on how to add external jars to project using "systemPath" tag:
• Maven - External Dependencies -1 (Adding e...
Visit my blog: https://riyafa.wordpress.com