Build tooling

Maven POM

Defines project identity, packaging, dependencies and build configuration. Static Maven 3 example; Maven execution unverified.

Formal Syntax & Structure

java syntaxjava
<project> ... </project>

Working Example

Example Snippetjava
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">  <modelVersion>4.0.0</modelVersion>  <groupId>example.bytemind</groupId>  <artifactId>hello</artifactId>  <version>1.0.0</version>  <properties>    <maven.compiler.release>21</maven.compiler.release>    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  </properties>  <build>    <plugins>      <plugin>        <groupId>org.apache.maven.plugins</groupId>        <artifactId>maven-compiler-plugin</artifactId>        <version>3.14.0</version>        <configuration><proc>none</proc></configuration>      </plugin>    </plugins>  </build></project>
Java Reference