一个maven的问题求教
我正在用maven package一个开源软件,提示缺少bte:core。我下载这个东西到文件夹下,然后执行mvn install:install-file -Dfile=E:\apache-maven-3.2.1\bte-core-0.9.2.3.jar -DgroupId=gr.ekt.bte -DartifactId=bte-core -Dversion=0.9.2.3 -Dpackaging=jar,希望手动安装这个jar,但是执行后出现了以下提示
:
[ERROR] 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:
[ERROR] [0] 'groupId' is missing.
[ERROR] [1] 'artifactId' is missing.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
本人菜鸟,搞不懂。希望有高手帮忙解答下!