简体   繁体   English

将NB项目改为maven项目

[英]Change NB project to maven project

I have created java desktop application project using NB and now I want to convert it into maven project so everybody will be able to compile it and maintain in eclipse/netBeans.我已经使用 NB 创建了 java 桌面应用程序项目,现在我想将其转换为 maven 项目,这样每个人都可以在 eclipse/netBeans 中编译和维护它。 Is there any easy way to do this?有什么简单的方法可以做到这一点?

Or maybe there is some way to convert project created using wizard in NB to eclipse?或者也许有一些方法可以将使用 NB 中的向导创建的项目转换为 eclipse?

I'm currently doing this for an Enterprise Application, which consists of 3 modules (EJB,EAR and WAR).我目前正在为一个企业应用程序执行此操作,该应用程序由 3 个模块(EJB、EAR 和 WAR)组成。

Its as simple as creating the new Maven project and copying your.java files into the new project and dependencies into the pom file.它就像创建新的 Maven 项目并将您的.java 文件复制到新项目中并将依赖项复制到 pom 文件中一样简单。

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

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