mvn install:install-file -Dfile=d:/licenseVerify-1.0.jar -DgroupId=com.licenseVerify -DartifactId=licenseVerify -Dversion=1.0 -Dpackaging=jar
d:/licenseVerify-1.0.jar indicates the path of the JAR package to be installed; com.licenseVerify , licenseVerify and indicate the Group ID, Artifact ID and version number of the JAR package 1.0
respectively ; jar
it specifies the packaging method as jar
introduce
<dependency>
<groupId>com.licenseVerify</groupId>
<artifactId>licenseVerify</artifactId>
<version>1.0</version>
</dependency>