mvn archetype:generate \
-DgroupId=com.example \
-DartifactId=mywebapp \
-DarchetypeArtifactId=maven-archetype-webapp \
-DinteractiveMode=false
It will build the (war) package with al the required classes.
git init \n
git add .
git status
git commit -m "initial commit: index.jsp" or
git branch -M main
git remote add origin https://github.com/patrickaws6/gunnu-maven-war-project.git
git push -u origin main
git pull --rebase origin main
git push -u origin main