mvn install:install-file "-Dfile=D:\setup\fastdfs-client-java-1.27-RELEASE.jar" "-DgroupId=org.csource" "-DartifactId=fastdfs-client-java" "-Dversion=1.27-SNAPSHOT" "-Dpackaging=jar"
将相关参数加上引号就可以解决了。
文章来源:https://blog.csdn.net/weixin_30682415/article/details/101948894