java - 父 pom org.code.exec-maven.plugin:1.4 的无效打包必须是 pom 但是“maven-plugin”
问题描述
使用 mvn 编译 maven 项目时出现以下错误,甚至exec-maven.plugin-1.4.pom
文件在工件上可用:
Downloading : https://domain.abc/public/org/code/exec-maven.plugin/1.4/exec-maven.plugin-1.4.pom
[ERROR]Invalid packaging for parent pom org.code.exec-maven.plugin:1.4 must be pom but is "maven-plugin @"
[ERROR]Invalid packaging for parent pom org.code.exec-maven.plugin:1.4 must be pom but is "maven-plugin @"
[FATAL] The parent from cycle :om org.code.exec-maven.plugin:1.4 -> om org.code.exec-maven.plugin:1.4
解决方案
您用作org.code.exec-maven.plugin:1.4
父 POM,但这是一个 Maven 插件,而不是父 POM。
推荐阅读
- android - 权限对话框未在 android 中显示
- python - 如何使用 Ctypes 和 kernel32.dll 将 Python 脚本添加到注册表
- python-3.x - PYTHON3:打印一组随机整数有时会得到排序输出,有时会得到未排序输出!为什么?
- python - 使用列表项索引作为python中另一个列表的索引
- docker - Docker DNS 忽略主机上的 /etc/nsswitch.conf
- sql - Postgresql数据库中分母最小公倍数的计算
- oracle - SQL 错误:ORA-00904 "SYS"."DBMS_CRYPTO"."HASH": 在 Oracle12C 中更新表时出现无效标识符错误
- clojure - 在clojure中使用变量作为dict键
- curl - 如何在 jenkinsfile 中显示 curl http 返回状态
- r - modelvalid:用于 GmAMisc 中的二进制 Logistic 回归内部验证的 R 函数:“Gianmarco Alberti”