You have to use a classifier to attach supplemental artifacts to the project instead of replacing th
使用Jenkins构建项目报错:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default-jar) on project xx-dao: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :xx-dao
网上搜索的原因:
原因:xx-dao这个项目是空的,只有一个pom.xml
解决办法: 在xx-dao项目中创建src/main/java/test.java, 内容为空,作为占位。
You have to use a classifier to attach supplemental artifacts to the project instead of replacing th相关推荐
- maven打包报错You have to use a classifier to attach supplemental artifacts to the project instead of rep
maven打包报错You have to use a classifier to attach supplemental artifacts to the project instead of rep ...
- 解决jenkins发版报错:JAR will be empty - no content was marked for inclusion
解决:You have to use a classifier to attach supplemental artifacts to the project instead of replacing ...
- object references an unsaved transient instance save the transient instance before flushing
问题内容: 在一个hibernate项目中,为一个Model类添加一个多对一的配置 当表单中选择数据时对其多对一对象进行保存操作,没有选择的话则不对其做任何操作,如下面代码:当Attach不为空的情况 ...
- Cannot add or update a child row: a foreign key constraint
问题内容: 在一个hibernate项目中,为一个Model类添加一个多对一的配置,在进行功能调试的时候报如下错误. Caused by: com.mysql.jdbc.exceptions.MySQ ...
- 在package.json中使用git URL依赖分支或标记?
本文翻译自:Depend on a branch or tag using a git URL in a package.json? Say I've forked a node module wit ...
- SpringBoot-Maven打包压缩瘦身
SpringBoot-Maven打包压缩瘦身 一.Spring Boot 可执行 jar 分析 1.1 打包 1.2 两种 jar 的比较 1.3 一次打包两个 jar 二.SpringBoot迭代发 ...
- Springboot+Ajax工具类的使用
pom.xml文件的配置 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// ...
- ios create ml_什么是create ml框架
ios create ml Create ML is Apple's latest addition to a robust suite of first-party development tool ...
- Spring boot的Maven插件(一):repackage目标
简介 Spring Boot Maven Plugin插件提供spring boot在maven中的支持.允许你打包可运行的jar包或war包. 插件提供了几个maven目标和Spring Boot ...
最新文章
- LIC-Fusion 2.0:基于滑动窗口法平面特征跟踪的激光雷达惯性相机里程计
- 计算机 微课 论文,探析毕业论文怎么写 关于微课和电脑论文范例30000字
- 一种C#读写二进制文件的通用方法
- 080_获取当前页面地址
- java怎么xml文件解析_Java对Xml文件解析
- 使用tensorflow书写逻辑回归
- 目前计算机病毒只有网络型病毒吗,在web.xml中使用()标签配置过滤器
- CXF 调用C#.net的WebService
- 狂人日记学习 之一 CSS布局的目的
- 集成测试用例_如何评估测试用例的有效性?
- sqlserver 调优(三)
- OpenFileDialog获取文件名和文件路径问题
- java ArrayListLinkList
- 怎么从视频文件中提取音频?
- Bootstrap3的简单入门
- java 人脸识别 demo_基于虹软sdk,java实现人脸识别(demo)
- roboware studio教程_RoboWare-Studio
- RADIUS协议基础原理
- 计算机办公软件基础知识题库,办公软件基础知识试题试卷--题库.doc
- v-model中修饰符lazy,number, trim的作用