How to create a Maven Based Web Project in Visual Studio code? | Maven Setup VS Code

Cool IT Help
Cool IT Help
36 هزار بار بازدید - 3 سال پیش - In this tutorial session, we
In this tutorial session, we will learn to create a Maven-based Web project in Visual Studio Code.

Prerequisite:
Java/JDK must be installed on the system.

How to set up Apache Maven 3.8 in Visual Studio Code?
****************************************************
Step 1: Download the Latest maven package:
       download link: https://maven.apache.org/download.cgi  
 package name: apache-maven-3.8.1-bin.zip

Step 2: Setup Environment variable:
       MAVEN_HOME = path to maven package.
 
Step 3: Maven installation verification:
       open cmd and type : mvn -v

Step 4: Open Visual Studio Code.

Step 5: Download the following extension in VS Code:
       i) Java Project Manager by Microsoft
       ii) Maven for java by Microsoft
 
 [vs code restart.]

Step 6: Now create a Maven Web project in VS Code.

Step 7: Build the project and Create a War file.
       mvn clean package

Note: deploy and run on Tomcat will be explained in the next tutorial session.

Thanks.

If you found this video tutorial useful and would like to support me, you can do so by buying me a coffee using the below link!
https://buymeacoffee.com/CoolITHelp

#MavenVSCode #CoolITHelp
3 سال پیش در تاریخ 1400/02/20 منتشر شده است.
36,033 بـار بازدید شده
... بیشتر