maven
文章平均质量分 50
yunfeather
大三 计科 想进BAT的准大四狗
展开
-
导入自定义archetype
导入自定义archetype前提:该archetype是maven项目,采用微服务架构,包含一个asssembly负责打包的子项目,以及负责主要程序的boot子项目,可自行增加其他子项目。该archetype包含了基础的项目结构,主要作为开发脚手架,可在此基础上进行开发。1.下载文件链接:https://pan.baidu.com/s/13_RBSIvbQtvriHIaMwnvdw提取码:cttw2.默认已经安装了maven,下载完成后,在命令行cd到文件的根目录内运行命令mvn cle原创 2022-02-08 17:55:38 · 506 阅读 · 0 评论 -
assembly打包
assembly打包1 springboot项目 -> 子项目assemblyassembly子项目是微服务中的子项目,专门用来打包的1.1 springboot项目 -> 子项目assembly -> pom.xml文件<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001原创 2022-01-12 15:18:47 · 2873 阅读 · 0 评论 -
在linux服务器上用nexus安装maven私服
在linux服务器上用nexus安装maven私服1.上传或者下载nexus到linux服务器2.在linux服务器上新建nuxes目录,并移动到nuxes目录下[root@Jenkins ~]# cd /usr/local/[root@Jenkins local]# mkdir nexus[root@Jenkins local]# lsbin etc games include lib lib64 libexec nexus python2 python3 sbin sh原创 2021-06-11 18:22:45 · 468 阅读 · 0 评论 -
报错java.lang.noclassdeffounderror|找不到包
报错:java.lang.noclassdeffounderror原因:缺乏文件,找不到这个包后来发现是在idea使用maven打包时,同时点了clean和install,导致有些包没有导进来。解决方案:重新点了clean,clean完成之后再来install。...原创 2021-03-03 14:20:07 · 230 阅读 · 0 评论 -
maven在setting配置文件中指定jdk版本——以jdk1.8为例
maven在setting配置文件中指定jdk版本——以jdk1.8为例1.打开setting.xml目录一般在这里:C:\Program Files\apache-maven-3.5.4\conf2.使用Ctrl+F搜索jdk找到这些文件: <profile> <id>jdk-1.4</id> <activation> <jdk>1.4</jdk> </ac原创 2020-12-18 23:41:52 · 14150 阅读 · 3 评论