简体   繁体   English

Maven2 Eclipse插件

[英]Maven2 Eclipse Plugin

I have just added dependencies to a project so that my jar, specifically pdfbox 1.6, can see other jars. 我刚刚将依赖项添加到项目中,以便我的jar(特别是pdfbox 1.6)可以看到其他jar。 After adding my dependencies with the right click onto project feature that maven offers how can I be sure that the dependencies work, and that what I've done is correct? 在右键单击项目功能后添加了我的依赖关系之后,maven提供了如何确保依赖关系有效并且我所做的正确的事情? I view a pom.xml file that has been created so what are the target folder and classes,test-classes subfolders used for? 我查看已创建的pom.xml文件,因此目标文件夹和类,测试类子文件夹用于什么? Thanks 谢谢

you can build your project and see if the dependencies are in the final artifact. 您可以构建您的项目,并查看依赖项是否在最终工件中。 Also eclipse can show you the dependencies under maven dependencies, see the screenshot : 另外eclipse可以向您显示maven依赖项下的依赖项,请参见屏幕截图: 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM