我正在尝试将maven项目导入Eclipse.
我正在使用Helios.我已经下载了m2eclipse.我已经导入了这个项目.
但是我在编译项目时遇到了很多麻烦.
完整项目包含5个Eclipse项目,即:prj1,prj2,prj3,prj4和prj5
如果我在prj1/pom.xml上看(Eclipse)标记我有这个麻烦:
Multiple annotations found at this line:
- Missing artifact log4j:log4j:jar:1.2.15:compile
- Missing artifact org.apache.xmlbeans:xmlbeans-xpath:jar:2.4.0:compile
- Missing artifact org.apache.ws.commons.axiom:axiom-dom:jar:1.2.5:compile
- Missing artifact org.apache.httpcomponents:httpcore:jar:4.0-alpha5:compile
Run Code Online (Sandbox Code Playgroud)
......等等......
如果我理解了maven是如何工作的那些家属必须下载我的maven,我错了吗?
为什么没有下载这些依赖项?我应该一个一个地手动下载吗?