maven apache tutorial code example

Example 1: What is the most important file in a Maven project?

- pom.xml is the most important file in a Maven project.
    
    - 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: maven create project from archetype command line

mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false

Tags:

C Example