美文网首页
将外部jar包引入到mavn 并指定仓库路径

将外部jar包引入到mavn 并指定仓库路径

作者: junstack | 来源:发表于2021-08-04 14:59 被阅读0次
mvn install:install-file -DgroupId=com.iflytek.fsp.shield -DartifactId=api-gw-sdk-java -Dversion=V2.2 -Dpackaging=jar -Dfile=D:\JavaWorkSpace\hip-codeSystem\codeSystem-huainan\src\main\resources\lib\api-gw-sdk-java-V2.2.jar -Dmaven.repo.local=D:\server\maven\repository

引入pom

       <dependency>
            <groupId>com.iflytek.fsp.shield</groupId>
            <artifactId>api-gw-sdk-java</artifactId>
            <version>V2.2</version>
        </dependency>

相关文章

网友评论

      本文标题:将外部jar包引入到mavn 并指定仓库路径

      本文链接:https://www.haomeiwen.com/subject/nkeuvltx.html