我尝试使用Maven 2手动安装工件时遇到了一些错误.我想用命令从本地目录安装jar
mvn install:install-file -Dfile=jta-1.0.1B.jar
Run Code Online (Sandbox Code Playgroud)
但是Maven给出了一个构建错误,其内容如下:
Invalid task '.01B.jar': you must
specify a valid lifecycle phase, or a
goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
Run Code Online (Sandbox Code Playgroud)
我的命令有错吗?