maven项目手动安装jar包

mvn install:install-file -Dfile=D:/Env/eclipse/workspace/cMeeting/lib/jodconverter-core-4.2.2.jar -DgroupId=jodconverter -DartifactId=jodconverter-jar -Dversion=4.2.2 -Dpackaging=jar
mvn install:install-file -Dfile=D:/Env/eclipse/workspace/cMeeting/lib/jodconverter-core-3.0-beta-4.jar -DgroupId=org.artofsolving.jodconverter -DartifactId=jodconverter-core -Dversion=3.0-beta-4 -Dpackaging=jar
mvn install:install-file -Dfile=D:/Env/eclipse/workspace/cMeeting/lib/juh-3.2.1.jar -DgroupId=org.openoffice -DartifactId=juh -Dversion=3.2.1 -Dpackaging=jar
mvn install:install-file -Dfile=D:/Env/eclipse/workspace/cMeeting/lib/jurt-3.2.1.jar -DgroupId=org.openoffice -DartifactId=jurt -Dversion=3.2.1 -Dpackaging=jar
mvn install:install-file -Dfile=D:/Env/eclipse/workspace/cMeeting/lib/ridl-3.2.1.jar -DgroupId=org.openoffice -DartifactId=ridl -Dversion=3.2.1 -Dpackaging=jar
mvn install:install-file -Dfile=D:/Env/eclipse/workspace/cMeeting/lib/unoil-3.2.1.jar -DgroupId=org.openoffice -DartifactId=unoil -Dversion=3.2.1 -Dpackaging=jar

C:\Users\www>mvn install:install-file -Dfile=D:/Env/eclipse/workspace/cMeeting/lib/guava-31.0.1-jre.jar -DgroupId=com.google.guava -DartifactId=guava -Dversion=31.0.1-jre -Dpackaging=jar
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing D:\Env\eclipse\workspace\cMeeting\lib\guava-31.0.1-jre.jar to C:\Users\www\.m2\repository\com\google\guava\guava\31.0.1-jre\guava-31.0.1-jre.jar
[INFO] Installing C:\Users\www\AppData\Local\Temp\mvninstall5941998854610851453.pom to C:\Users\www\.m2\repository\com\google\guava\guava\31.0.1-jre\guava-31.0.1-jre.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.115 s
[INFO] Finished at: 2022-01-26T10:45:21+08:00
[INFO] Final Memory: 7M/307M
[INFO] ------------------------------------------------------------------------
安装成功后,再在你的pom里面添加:

<dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>${guava.version}</version>
            </dependency>

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值