使用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相关推荐

  1. 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 ...

  2. 解决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 ...

  3. object references an unsaved transient instance save the transient instance before flushing

    问题内容: 在一个hibernate项目中,为一个Model类添加一个多对一的配置 当表单中选择数据时对其多对一对象进行保存操作,没有选择的话则不对其做任何操作,如下面代码:当Attach不为空的情况 ...

  4. Cannot add or update a child row: a foreign key constraint

    问题内容: 在一个hibernate项目中,为一个Model类添加一个多对一的配置,在进行功能调试的时候报如下错误. Caused by: com.mysql.jdbc.exceptions.MySQ ...

  5. 在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 ...

  6. SpringBoot-Maven打包压缩瘦身

    SpringBoot-Maven打包压缩瘦身 一.Spring Boot 可执行 jar 分析 1.1 打包 1.2 两种 jar 的比较 1.3 一次打包两个 jar 二.SpringBoot迭代发 ...

  7. Springboot+Ajax工具类的使用

    pom.xml文件的配置 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// ...

  8. ios create ml_什么是create ml框架

    ios create ml Create ML is Apple's latest addition to a robust suite of first-party development tool ...

  9. Spring boot的Maven插件(一):repackage目标

    简介 Spring Boot Maven Plugin插件提供spring boot在maven中的支持.允许你打包可运行的jar包或war包. 插件提供了几个maven目标和Spring Boot ...

最新文章

  1. LIC-Fusion 2.0:基于滑动窗口法平面特征跟踪的激光雷达惯性相机里程计
  2. 计算机 微课 论文,探析毕业论文怎么写 关于微课和电脑论文范例30000字
  3. 一种C#读写二进制文件的通用方法
  4. 080_获取当前页面地址
  5. java怎么xml文件解析_Java对Xml文件解析
  6. 使用tensorflow书写逻辑回归
  7. 目前计算机病毒只有网络型病毒吗,在web.xml中使用()标签配置过滤器
  8. CXF 调用C#.net的WebService
  9. 狂人日记学习 之一 CSS布局的目的
  10. 集成测试用例_如何评估测试用例的有效性?
  11. sqlserver 调优(三)
  12. OpenFileDialog获取文件名和文件路径问题
  13. java ArrayListLinkList
  14. 怎么从视频文件中提取音频?
  15. Bootstrap3的简单入门
  16. java 人脸识别 demo_基于虹软sdk,java实现人脸识别(demo)
  17. roboware studio教程_RoboWare-Studio
  18. RADIUS协议基础原理
  19. 计算机办公软件基础知识题库,办公软件基础知识试题试卷--题库.doc
  20. v-model中修饰符lazy,number, trim的作用

热门文章

  1. 教程篇(7.0) 04. FortiGate安全 NAT ❀ Fortinet 网络安全专家 NSE 4
  2. 华为ICT题目-云服务题库3
  3. 用switch语句根据消费金额计算折扣 (Java经典编程案例)
  4. 2019秋-走的太久忘记了为什么出发
  5. QUOTED_IDENTIFIER选项设置不正确
  6. linux下redis设置密码登录(简单易懂)
  7. Harbor中镜像清理
  8. 目标规划之问题数学化(建模)
  9. 微信、Uber、阴谋论和口袋罪
  10. EasyExcel 动态表头 + 数据单元格合并