当前位置:网站首页>The goal you specified requires a project to execute but there is no POM in this directory
The goal you specified requires a project to execute but there is no POM in this directory
2022-07-24 07:07:00 【叫我泪下】
使用maven安装jar包到本地仓库时遇到The goal you specified requires a project to execute but there is no POM in this directory
我的命令是
mvn install:install-file -Dfile=D:\cao\gofastdfs-2.0.jar -DgroupId=com.aaa-DartifactId=gofastdfs -Dversion=2.0
找遍了百度才找到正确写法:参数需要用引号引起来
mvn install:install-file "-Dfile=D:\cao\gofastdfs-2.0.jar" "-DgroupId=com.aaa" "-DartifactId=gofastdfs" "-Dversion=2.0"
执行以后果然没报这个错了,但是却报了另外一个错误:
Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file
(default-cli) on project standalone-pom: The artifact information is incomplete or not valid:

- C language from entry to soil (I)
- 一个怎样的模式能让平台用户发生自助裂变?-链动2+1
- Decompress the anchor and enjoy 4000w+ playback, adding a new wind to the Kwai food track?
- 开发系统选择路线
- QoS服务质量四QoS边界行为之流量监管
- Seminar 2022.07.22 -- Comparative learning
- Part II - C language improvement_ 1. Overview of C language
- JS_实现多行文本根据换行分隔成数组
猜你喜欢

QoS quality of service 4 traffic regulation of QoS boundary behavior

Variables and data types (03)

编译与调试(gcc,g++,gdb)

单场GMV翻了100倍,冷门品牌崛起背后的“通用法则”是什么?

JMeter notes 2 | JMeter principle and test plan elements

Riotboard development board series notes (IX) -- buildreoot porting matchbox

论文阅读:HarDNet: A Low Memory Traffic Network

C language from entry to soil (I)

Stm32h750vbt6 drives programmable gain amplifier module pga113 -- Hal Library Based on cubemx

记账APP:小哈记账2——注册页面的制作
随机推荐
MITRE ATT&CK超详细学习笔记-01(背景,术语,案例)
RIoTBoard开发板系列笔记(九)—— buildroot 移植MatchBox
Seminar 2022.07.22 -- Comparative learning
传统电商红利消失,怎么进军新型社交电商?
编译与调试(gcc,g++,gdb)
使用堡垒机(跳板机)登录服务器
文件上传下载Demo
重磅直播 | ORB-SLAM3系列代码讲解地图点(专题二)
我的创作纪念日
Compilation and debugging (GCC, g++, GDB)
numpy.concatenate
Can recursion still play like this? Recursive implementation of minesweeping game
baddy:核心函数入口
从CIA看常见网络攻击(爆破,PE,流量攻击)
Use of redis
项目上线就炸,这谁受得了
Variables and data types (04) end
A great hymn
GDB debug core/dump
django.db.utils.OperationalError: (2002, “Can‘t connect to local MySQL server through socket ‘/var/r