maven how to install jar to local command

1. Install maven, configure maven environment variables (or use another way to switch to maven's bin directory to operate)

 

2. Execute the maven installation command

 

mvn install:install-file -Dfile=jar包的位置 -DgroupId=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326149565&siteId=291194637