注册到本地仓库

mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-api -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\endv\endv-api\target\endv-api-1.0.1.jar
 mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-api -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-api-1.0.1.jar
mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-cache -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-cache-1.0.1.jar
mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-client -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-client-1.0.1.jar
mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-common -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-common-1.0.1.jar
mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-core -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-core-1.0.1.jar
mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-monitor -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-monitor-1.0.1.jar
mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-netty -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-netty-1.0.1.jar
mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-tools -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-tools-1.0.1.jar
mvn install:install-file -DgroupId=cn.endv -DartifactId=endv-zk -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\endv-run\lib\endv-zk-1.0.1.jar

引用

<dependency>
<groupId>cn.endv</groupId>
<artifactId>endv-api</artifactId>
<version>1.0.1</version>
</dependency>

maven安装本地jar到本地仓库的更多相关文章

  1. maven 安装第三方jar到本地 出现 The goal you specified requires a project to execute but there is no POM in this directory 错误

    原因是因为操作系统的差异导致,把所有参数加上引号即可. 如下所示: mvn install:install-file "-Dfile=cobra.jar" "-Dgrou ...

  2. Windows下maven安装配置(包括本地化仓库配置)

    一.下载maven maven官网:http://maven.apache.org/ 下载下来也就是一个压缩文件,解压.我下载的是3.5.2版本,解压之后如下: 路径为 :D:\Program Fil ...

  3. Maven中安装本地Jar包到仓库中或将本地jar包上传

    摘要 maven install 本地jar 命令格式 mvn install:install-file -DgroupId=<group_name> -DartifactId=<a ...

  4. maven添加本地jar到本地仓库

    安装指定文件到本地仓库命令: mvn install:install-file -DgroupId= : 设置项目代码的包名(一般用组织名) -DartifactId= : 设置项目名或模块名 -Dv ...

  5. Maven手动将jar导入本地仓库

    1.使用cmd进入maven安装目录下的bin 2.运行mvn install:install-file -Dfile=jar包的路径 -DgroupId=gruopId中的内容 -Dartifact ...

  6. Gradle[0]依赖本地JAR和远程仓库JAR的配置

    1.对本地Jar的依赖配置 如果不知道Jar包的远程仓库地址,而项目中又要使用该Jar包,就需要进行本地设置. 例如,需要使用的Jar包为sigar.jar,则需要在项目根目录下建目录:libs,并把 ...

  7. 如何上传本地jar至远程仓库供其他项目使用

    我们首先需要创建自己内部nexus私服仓库.这里假设你已经做好了. 其次我们要明白nexus上如下几个component的用处. maven-central:maven中央库,默认从https://r ...

  8. maven安装第三方jar包到本地仓库

    添加项目依赖的时候,有些jar下载不下来,只有手动下载或安装到本地仓库了 首先下载所需要的jar,放到指定的文件夹 然后执行如下命令: mvn install:install-file -Dfile= ...

  9. maven 安装alipay-sdk包到本地及远程仓库

    安装到本地:mvn install:install-file -DgroupId=com.alipay -DartifactId=sdk-Java -Dversion=*** -Dpackaging= ...

随机推荐

  1. Linux apache自建证书搭建https

    前言          搭建https有两种方式,分为单向认证和双向认证.单向认证就是传输的数据加密过了,但是不会校验客户端的来源,也就只有客户端验证服务端证书.   单向认证 1.安装mod_ssl ...

  2. 修改 ulimit 时 需要注意的问题

  3. python 五星红旗

    import turtle turtle.setup(600,400,0,0) turtle.bgcolor("red") turtle.fillcolor("yello ...

  4. Learning to Learn and Predict: A Meta-Learning Approach for Multi-Label Classification

    Learning to Learn and Predict: A Meta-Learning Approach for Multi-Label Classification 2019-10-01 11 ...

  5. 【传输协议】thrift的IDL语法

    一.IDL Thrift 采用IDL(Interface Definition Language)来定义通用的服务接口,然后通过Thrift提供的编译器,可以将服务接口编译成不同语言编写的代码,通过这 ...

  6. tp使用ajaxReturn返回二维数组格式的字符串,前台如何获取非乱码

    参考: https://www.cnblogs.com/jiqing9006/p/5000849.html https://blog.csdn.net/zengxiangxuan123456/arti ...

  7. apache Request-URI Too Large 处理办法

    在Apache的httpd.conf配置文件中(直接加就可以) LimitRequestLine 40940 LimitRequestFieldSize 40940

  8. 笔记-Git:资源列表

    ylbtech-笔记-Git:资源列表 Yahoo!, Facebook, Salesforce, Microsoft, Twitter, Deutsche Telekom, Intuit, Mozi ...

  9. Nginx的configure脚本支持选项整理

    在不同版本间,选项可能会有些许变化,请总是使用./configure –help命令来检查当前的选项列表. --prefix=<PATH> #Nginx安装路径.如果没有指定,默认为 /u ...

  10. (转)ES6系列——let和const深入理解

    原文:https://juejin.im/post/59e6a86d518825422c0cbb6f https://www.cnblogs.com/slly/p/9234797.html-----l ...