Execute the following command for the jar to be imported
mvn install:install-file -Dfile=D:\xxx.jar -DgroupId=com.xxx -DartifactId=xxx -Dversion=1.0.1 -Dpackaging=jar
illustrate:
- -Dfile The file to be imported, the absolute path or the relative path is determined by yourself.
- -DgroupId group
- -DartifactId module name in the group
- -Dversion version
- -Dpackaging package type