- This topic has 1 reply, 2 voices, and was last updated 7 years, 8 months ago by support-swapna.
-
AuthorPosts
-
eugenejsnParticipantIDE: ME 2017 OS: Windows 7.
I would like to know the difference between the creation of a Web Project with Maven Support vs creation of a Maven Project directly.
1) File –> New –> Web Project –> Check [x] Add Maven support –> Add Project to an EAR –> create the project with an EAR.
–Is the project created in this way a web project or a maven project?
2) File –> New –> Maven Project –> create the project (no EAR)
What are the differences between the projects created using the above two methods? What the advantages choosing one over the other?
Thanks
Eugene
support-swapnaModeratorEugene,
1) File –> New –> Web Project –> Check [x] Add Maven support –> Add Project to an EAR –> create the project with an EAR. –Is the project created in this way a web project or a maven project?
The project is a maven enabled MyEclipse web project. Maven-enabled MyEclipse projects work with both Maven and MyEclipse tooling, simultaneously. Maven-enabled MyEclipse projects function normally like MyEclipse projects as well as Maven projects; allowing you to run any Maven goal against them using the MyEclipse IDE, manage dependencies.
The project created using File > New > Maven project is a purely maven project.The difference between the two ways of maven project creation is that, with projects created using New > Web Project wizard you can immediately ensure that your project will be deployable to the server and has proper MyEclipse configuration.
It is easier to create proper project structure for deployment to your server using New > Web project wizard.
Please refer to this article for more information about working with Maven in MyEclipse : https://www.genuitec.com/products/myeclipse/learning-center/maven/using-maven-in-myeclipse-maven4myeclipse/Hope this helps. Please let us know if you have any questions.
–Swapna
MyEclipse Support -
AuthorPosts