[WARN] Failed to……………….
1 required artifact is missing. for artifact: org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.1
Note about 0.9.8 Workspace Incompatibility: If you are using m2eclipse 0.10.0 with a workspace that contains projects created under m2eclipse 0.9.8, you must remove the workspaceState.ser file. The workspaceState.ser file is located within the workspace directory in $workspacedir/.metadata/.plugins/org.maven.ide.eclipse/workspaceState.ser. If you remove this file, m2eclipse 0.10.0 will regenerate it as needed.
不过如果不是0.9.8生成的Project那就只能下载缺失的jar文件,比如这里是 maven-resources-plugin-2.4.1.jar。
Then, install it using the command:
mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-interactivity-api -Dversion=1.0-alpha-4 -Dpackaging=jar -Dfile=/path/to/fileAlternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-interactivity-api -Dversion=1.0-alpha-4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
我选择的前者。
评论关闭。