开发包的分组
上传jar包
mvn deploy:deploy-file -Durl=http://127.0.0.1:8081/nexus/content/repositories/releases -DrepositoryId=releases -Dfile=xxxx-1.0.0.jar -
DgroupId=com.xxx.xxx -DartifactId=xxxx -Dversion=1.0.0 -Dpackaging=jar
pom
mvn deploy:deploy-file -Durl=http://127.0.0.1:8081/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty -Dfile=pom.xml -DgroupI
d=com.xxxx.xxx -DartifactId=xxxx-deps -Dversion=1.0.0 -DpomFile=pom.xml
mvn deploy:deploy-file -Durl=http://127.0.0.1:8081/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty -Dfile=xxx-1.0.0.jar -DgroupId=com.xxx.xxx -DartifactId=xxx -Dversion=1.0.0 (-Dpackaging=jar) (-DpomFile=xxx-1.0.0.pom)
部署
war mvn clean install -Dmaven.test.skip=true -Denv.type=prod
- 大小: 121.3 KB
- 大小: 119 KB
分享到:
相关推荐
NULL 博文链接:https://cjhz.iteye.com/blog/1721639
maven pom.xml详解
该jar包功能,可以在一个properties文件里面定义jdbc.url=${url},在另一个properties文件定义具体的...下载之后,自行安装到本地maven仓库,安装命令参考我另一篇博文。具体pom.xml配置使用可以参考网络其他博文,谢谢
记录一下自己常用的maven工程的pom.xml配置详解,各个标签详解
maven pom.xml 详解 格式为.xml格式
主要介绍了Maven pom.xml与settings.xml详解的相关资料,这里对pom.xml与setting.xml详细的研究说明,需要的朋友可以参考下
maven pom 详解 maven2 比起maven1 来说,需要配置的文件少多了,主要集中在pom.xml和settings.xml中
Maven的pom.xml配置文件详细配置说明 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=...
本文主要阐述了maven build是用来干什么的,以及对build标签中各子元素配置的作用
active MQ maven POM方式 初学者
maven pom.xml详解
dubbo与spring4集成maven pom文件 此pom为我生产项目中的配置,开始想省事使用spring boot,结果与springmvc不兼容,导致tomcat启动失败,后来找了maven shade来打包,解决了xsd兼容问题 另外注意,dubbo阿里的分支...
【Maven】Maven POM配置详解 - CSDN博客1
jetty maven pom run ---------------------------------------- http://knight-black-bob.iteye.com/blog/2360698
maven pom file desciption maven file maven filemaven filemaven filemaven file
SSM框架整合jar包和maven pom.xml配置文件整合
spirng mvc maven pom.xml
这个一个maven web项目的pom文件。主要包含运用spring mvc, spring, mybatis 框架时需要导入的依赖列表。旨在帮助一些愿在java web上进行开发的新手。大部分依赖都有其注释与说明。
maven 中 pom.xml 文件详解