Mount package in the Maven local repository

1. Go to jar package file storage folder

Here Insert Picture Description

2. In the address bar, enter cmd and press Enter to enter the dos window

Here Insert Picture Description

3.mvn -version to see if configured maven

Here Insert Picture Description

4. Execute the following statements mounted, displayed after the installation is successful execution success

mvn install:install-file -DgroupId=com.fmjava -DartifactId=ueditor -Dversion=1.0.0 -Dpackaging=jar -Dfile=ueditor-1.0.0.jar

Here Insert Picture Description
Installation Parameters
-DgroupId
represented jar corresponding to the groupId
com.fmjava
-DartifactId:
-DartifactId: indicates the artifactId jar corresponding
ueditor
-Dversion
-Dversion: indicates a corresponding jar Version
1.0.0

Published 47 original articles · won praise 6 · views 2201

Guess you like

Origin blog.csdn.net/weixin_44467251/article/details/102690301