Maven installation jar package problem

com.jhlabs:imaging:jar:01012005 所在仓库+captcha验证码maven依赖

maven 安装jar包 到本地仓库 命令
maven 3.0
安装jar包 到本地仓库


com.jhlabs.imaging 01012005
下载地址:http://maven.jahia.org/maven2/com/jhlabs/imaging/01012005/。
只需下载.jar包文件即可,下载完后可用手工安装。

maven 安装jar包 到本地仓库 cmd 命令

mvn install:install-file -DgroupId=com.jhlabs -DartifactId=imaging -Dversion=01012005 -Dpackaging=jar -Dfile=D:/imaging-01012005.jar

The maven central warehouse does not have this jar package

It needs to be downloaded and installed separately, and the jar package may not be available after installation through the cmd interface alone.

 You need to open cmd in administrator mode and install it.

Go to the maven bin path (mainly use the mvn command to execute)

 

The following is the jar package installation that executes maven 

 mvn install:install-file -DgroupId=com.jhlabs -DartifactId=imaging -Dversion=01012005 -Dpackaging=jar -Dfile=D:\imaging-01012005.jar


mvn install:install-file -DgroupId=com.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=3.2.0 -Dpackaging=jar -Dfile=D:\maven-resources-plugin-3.2.0.jar

mvn install:install-file -DgroupId=com.maywide.cmms -DartifactId=grid-boot-core -Dversion=1.0.0 -Dpackaging=jar -Dfile=D:\grid-boot-core-1.0.0.jar

mvn install:install-file -DgroupId=com.maywide.cmms -DartifactId=grid-boot-otherdb -Dversion=1.0.0 -Dpackaging=jar -Dfile=D:\grid-boot-otherdb-1.0.0.jar

The following statement is best to open in administrator mode and install the jar package into the maven repository.

Guess you like

Origin blog.csdn.net/weixin_40476233/article/details/121349571