basic pom.xml file code example

Example 1: example of simple maven pom java

<properties>        <maven.compiler.release>11</maven.compiler.release>    </properties>     <build>        <pluginManagement>            <plugins>                <plugin>                    <groupId>org.apache.maven.plugins</groupId>                    <artifactId>maven-compiler-plugin</artifactId>                    <version>3.8.1</version>                </plugin>            </plugins>        </pluginManagement>    </build>

Example 2: pom.xml file

- 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

Tags:

C Example