当前位置:   article > 正文

本地安装报错 aliyun-java-vod-upload-1.4.11.jar

aliyun-java-vod-upload-1.4.11.

环境:

C:\Users\hangludian>systeminfo | findstr Build
OS 版本:          10.0.19044 暂缺 Build 19044

C:\Users\hangludian>
  • 1
  • 2
  • 3
  • 4
执行会报错脚本
mvn install:install-file -DgroupId=com.aliyun -DartifactId=aliyun-java-vod-upload -Dversion=1.4.11 -Dpackaging=jar -Dfile=aliyun-java-vod-upload-1.4.11.jar
  • 1
(base) PS D:\webJava\Java\apache-maven-3.9.1\lib> mvn install:install-file -DgroupId=com.aliyun -DartifactId=aliyun-java-vod-upload -Dversion=1.4.11 -Dpackaging=jar -Dfile=aliyun-java-vod-upload-1.4.11.jar
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.065 s
[INFO] Finished at: 2023-05-04T14:28:42+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (D:\webJava\Java\apache-maven-3.9.1\lib). Please verify you invoked Maven from the correct directory. -> [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] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
(base) PS D:\webJava\Java\apache-maven-3.9.1\lib>
(base) PS D:\webJava\Java\apache-maven-3.9.1\lib>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
正常执行的脚本
mvn install:install-file -DgroupId="com.aliyun" -DartifactId="aliyun-java-vod-upload" -Dversion="1.4.11" -Dpackaging="jar" -Dfile="aliyun-java-vod-upload-1.4.11.jar"
  • 1
(base) PS D:\webJava\Java\apache-maven-3.9.1\lib> mvn install:install-file -DgroupId="com.aliyun" -DartifactId="aliyun-java-vod-upload" -Dversion="1.4.11" -Dpackaging="jar" -Dfile="aliyun-java-vod-upload-1.4.11.jar"
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- install:3.1.0:install-file (default-cli) @ standalone-pom ---
[INFO] Installing D:\webJava\Java\apache-maven-3.9.1\lib\aliyun-java-vod-upload-1.4.11.jar to C:\Users\hangludian\.m2\repository\com\aliyun\aliyun-java-vod-upload\1.4.11\aliyun-java-vod-upload-1.4.11.jar
[INFO] Installing C:\Users\HANGLU~1\AppData\Local\Temp\aliyun-java-vod-upload-1.4.112331278762824322281.pom to C:\Users\hangludian\.m2\repository\com\aliyun\aliyun-java-vod-upload\1.4.11\aliyun-java-vod-upload-1.4.11.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.757 s
[INFO] Finished at: 2023-05-04T14:35:52+08:00
[INFO] ------------------------------------------------------------------------
(base) PS D:\webJava\Java\apache-maven-3.9.1\lib>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
idea退出从新刷新一下就好了
Reference:

maven install报错解决
https://blog.csdn.net/qq_51738873/article/details/126372542

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/507653
推荐阅读
相关标签
  

闽ICP备14008679号