install local jar to local repository

Well it sometimes useful to install jar files that create or download directly to local maven repository.

1
2
3
4
5
6
7
mvn install:install-file \
-Dfile=<path-to-file> \
-DgroupId=<group-id> \
-DartifactId=<artifact-id> \
-Dversion=<version> \
-Dpackaging=<packaging> \
-DgeneratePom=true

install local jar to local repository
https://rug.al/2014/2014-08-24-install-local-jar-to-local-repository/
Author
Rugal Bernstein
Posted on
August 24, 2014
Licensed under