Maven command to install the package jar
Cmd command in the windows, with reference to the following command to install the mounting jar package. Note: This command can not wrap middle separated by spaces
Install the specified file to the local repository command: mvn install: install - File
- DgroupId = < the groupId >: package name setting item code ( typically by organization name)
- DartifactId = < the artifactId >: Set project name or module name
- dVERSION = 1.0. 0: The version number
- Dpackaging = JAR: What type of file ( JAR package)
- dfile = < . Myfile jar >: Specifies the jar file path and file name ( the same directory just the file name)
Installation command examples:
mvn install:install-file -DgroupId=com.sss -DartifactId=ueditor -Dversion=1.0.0 -Dpackaging=jar -Dfile=ueditor-1.1.3.jar
After executing the command, you can see the prompt SUCCESS word, representing the installation was successful, it can be found in the local repository.