开发者

m2eclipse - after pom and dependencies definition - no libraries on classpath / Maven Dependencies

I've been doing just simple archetype projects until now, and always after dependencies definition and saving pom.xml, immediately after that the Maven Dependencies library was full of libraries. But now I declared:

parent(pom packaging, scm, repository manag开发者_如何转开发ement)

parent(pom packaging, shared dependencies)

actual project (jar packaging, few more dependencies)

actual project (jar packaging, few more dependencies)


I created them from the upper one by "Create module" ... Problem is, that I can't make it automatically fill the Maven Dependencies library


In .classpath file there is this line <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> as in other "working" projects, but there is nothing on the classpath. Any suggestions please ?


Can you run mvn dependency:tree on the command line for the child project and confirm that you see the expected dependencies. If you don't, then there is something wrong with your poms (that you will have to post to get more help).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜