0

I have a j2ee project which is having many jar files attached to it, now i want to convert it to a maven project, is it possible to get all the dependencies of the attached jar files in the pom.xml automatically without adding them one by one manually?

Sorry if this is a noobish question !

4

2 回答 2

0

AFAIK,你不能。

但是您的 IDE 可以帮助您。Netbeans 或 Eclipse 都可以帮助您查找组的名称以及几乎所有库的工件。

在 Netbeans 上,它是Add Dependency

于 2015-02-23T05:59:29.197 回答
0

在我看来:是的,你可以。你会尝试这样的场景:将你的项目导入 Eclipse,然后将项目转换为 Maven 项目,然后在项目上抛出上下文菜单。这不是简单的方法,但这个解决方案是有效的。可能是另一个IDE可以转换更有效。

于 2015-02-24T06:47:04.343 回答