添加本地jar包到maven仓库

在cmd窗口中执行apache

mvn install:install-file -Dfile=D:\project\libs\activemq-all-5.10.0.jar -DgroupId=org.apache.activemq  -DartifactId=activemq-all  -Dversion=5.10.0 -Dpackaging=jarui

执行结果如图:xml

执行后,看到 build success.cmd

而后就能够去 pom.xml 添加依赖了.io

<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-all</artifactId>
    <version>5.10.0</version>
</dependency>
相关文章
相关标签/搜索