command to build in maven code example
Example 1: what is pom.xml
- pom.xml file allows us to add, remove, manage dependencies
and versions from one single location.
- POM stands for project object model
- .xml -> stands for: extensible markup language
Example 2: execute maven project in cmd
#execute the project
mvn exec:java -Dexec.mainClass=com.mycompany.App