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
<?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
Download from the command line
curl -L -o pom.xml https://files.samplefiles.com/config/pom-xml/pom.xmlwget https://files.samplefiles.com/config/pom-xml/pom.xmlhttps://files.samplefiles.com/config/pom-xml/pom.xmlprintf '%s %s\n' 9229af70c12f842503634a3535b238d2bffe7ba889585fa6cd673d592567b225 pom.xml | shasum -a 256 -cOr check the download in your browser with the checksum calculator.