Maven2 Eclipse 插件
我刚刚向项目添加了依赖项,以便我的 jar(特别是 pdfbox 1.6)可以看到其他 jar。右键单击 Maven 提供的项目功能添加依赖项后,我如何确保依赖项有效,并且我所做的事情是正确的?我查看了已创建的 pom.xml 文件,那么目标文件夹和类、测试类子文件夹的用途是什么?谢谢
I have just added dependencies to a project so that my jar, specifically pdfbox 1.6, can see other jars. 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? I view a pom.xml file that has been created so what are the target folder and classes,test-classes subfolders used for? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以构建项目并查看依赖项是否在最终工件中。 eclipse还可以显示maven依赖项下的依赖项,请参见屏幕截图:
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 :