To install a third-party jar into your local Maven repository perform the following command:
mvn install:install-file \
-Dfile=[path_to_jar] \
-DgroupId=[group_id] \
-DartifactId=[artifact_id] \
-Dversion=[version_number] \
-Dpackaging=jar
More information about the maven install-file plugin can be found here.
0 comments: