[英]Organize Maven Dependency in eclipse
I know how to add maven dependencies in eclipse. 我知道如何在Eclipse中添加Maven依赖项。 But I am looking for organizing them.
但是我正在寻找组织它们的方法。
After issuing 发行后
eclipse:eclipse
and importing the project in the eclipse, all the dependency library appears. 并将项目导入eclipse中,将显示所有依赖项库。
Now from what i have experience all the dependent jar were all under the "Maven Dependencies". 现在,根据我的经验,所有依赖的jar都在“ Maven依赖关系”下。 But i see all the jar are loose - just under the project name.
但是我看到所有的罐子都松了-在项目名称的下面。
Basically what i am interested is from 基本上我感兴趣的是
to this : 对此:
Rather than using mvn eclipse:eclipse
and importing as existing project, got to 与其使用
mvn eclipse:eclipse
并作为现有项目导入,不如使用
File-> Import-> Maven-> Existing Maven Projects
and select your project from there. 然后从那里选择您的项目。 If you do it that way, your maven dependencies should come up under
Maven Dependencies
section. 如果这样做,则您的Maven依赖项应位于
Maven Dependencies
部分下。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.