首页 > 其他分享 >Maven外部包的安装

Maven外部包的安装

时间:2022-12-29 15:24:01浏览次数:59  
标签:INFO maven plugin 外部 jar Maven clean 安装 2.5

C:\software\apache-maven-3.6.2\bin>mvn install:install-file -DgroupId=com.dm -DartifactId=DmJdbcDriver -Dversion=1.8 -Dpackaging=jar -Dfile=C:\zhbwork\DMsoft\drivers\jdbc\DmJdbcDriver18.jar
[INFO] Scanning for projects...
Downloading from alimaven: https://maven.aliyun.com/repository/central/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
Downloaded from alimaven: https://maven.aliyun.com/repository/central/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom (0 B at 0 B/s)
Downloading from alimaven: https://maven.aliyun.com/repository/central/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar
Downloaded from alimaven: https://maven.aliyun.com/repository/central/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar (0 B at 0 B/s)
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing C:\zhbwork\DMsoft\drivers\jdbc\DmJdbcDriver18.jar to C:\software\localrepo\com\dm\DmJdbcDriver\1.8\DmJdbcDriver-1.8.jar
[INFO] Installing C:\Users\hi\AppData\Local\Temp\mvninstall2697614499005436178.pom to C:\software\localrepo\com\dm\DmJdbcDriver\1.8\DmJdbcDriver-1.8.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.853 s
[INFO] Finished at: 2022-12-29T14:52:23+08:00
[INFO] ------------------------------------------------------------------------

C:\software\apache-maven-3.6.2\bin>

关键语法
mvn install:install-file -DgroupId=com.dm -DartifactId=DmJdbcDriver -Dversion=1.8 -Dpackaging=jar -Dfile=C:\zhbwork\DMsoft\drivers\jdbc\DmJdbcDriver18.jar

标签:INFO,maven,plugin,外部,jar,Maven,clean,安装,2.5
From: https://www.cnblogs.com/zhuhuibiao/p/17012605.html

相关文章