Maven2 Eclipse Plugin

烂漫一生 提交于 2019-12-12 02:39:38

问题


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


回答1:


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 :



来源:https://stackoverflow.com/questions/7996771/maven2-eclipse-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!