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.