facebook

Creation of Web Project with Maven Support vs Creation of a Maven Project

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #519906 Reply

    eugenejsn
    Participant

    IDE: 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

    #520006 Reply

    support-swapna
    Moderator

    Eugene,

    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

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Creation of Web Project with Maven Support vs Creation of a Maven Project

You must be logged in to post in the forum log in