Config Files · 1 file

Sample pom.xml File

pom.xml is the Maven build file for Java projects. Our sample is realistic and valid for its tool, with fake hosts and secrets.

pom.xml · 1018 B

Maven pom.xml

A Maven POM with coordinates, properties, dependencies with scopes and the compiler plugin. All hosts, keys and secrets are fake.

CC0 · free for any use · Verified by an independent tool · Report a problem

pom.xml — first linesXML
<?xml version="1.0" encoding="UTF-8"?>
<!-- Sample Maven POM — samplefiles.com -->
<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>com.example</groupId>
  <artifactId>sample-app</artifactId>
  <version>1.4.2</version>
  <packaging>jar</packaging>

  <properties>
    <maven.compiler.release>21</maven.compiler.release>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <dependencies>
    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-databind</artifactId>
      <version>2.17.2</version>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter</artifactId>
      <version>5.11.0</version>

File details

Size
1018 B (1,018 bytes)
MIME type
application/xml
SHA-256
9229af70c12f842503634a3535b238d2bffe7ba889585fa6cd673d592567b225
MD5
55931732dc0b4aad50e327aad7121726

Download from the command line

curl -L -o pom.xml https://files.samplefiles.com/config/pom-xml/pom.xml

Or check the download in your browser with the checksum calculator.