How to convert Dynamic Web Project to Maven Project in Eclipse
This Eclipse tutorial will explain how to convert Dynamic Web Project to Maven Project in Eclipse step by step. Eclipse is the most popular Integrated Development Environment (IDE) to design and develop Java
based web application. In Dynamic Web Project you need to configure the required library manually and it not easy to carry the project.
What is Maven?
Maven is a build tool that makes build process easy. Maven addresses two aspects of building software: first, it describes how software is built, and second, it describes its dependencies. In Maven project we simply add dependencies
in pom.xml
, it will automatically download the required library/jars.
Follow the below steps…
Step 1: Select your Dynamic Web Project and hit the Right Click button.
Step 2: Now click on the Configure » Covert to Maven Project
Step 3: After clicking on Convert to Maven Project, a new pop-up window will open. It will show the configuration of pom.xml
Step 4: Hit the Finish button. Finally, your Dynamic Web Project successfully converted into Maven Project.
Step 5: Project structure of Maven Project.
Step 6: Done. Thank You 🙂
Similar Posts
- How to pass VM arguments in Eclipse IDE
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- Website- How to redirect non www to www in htaccess
- How to delete duplicate rows in Excel
- How to enable Hibernate option in Windows 8?
- IntelliJ IDEA- Import/Open multiple project in single Window
- Deploy jasper reports in JasperReports Server using Parameters
- How to redirect from HTTP to HTTPS on Tomcat Server
- IntelliJ IDEA– Remove/Optimize unused imports shortcut keys
- How to create new role and grant permission to role in JasperReports Server