java-build-essentials-1.0.0.pom
Java essentials for building
Checksums
| MD5 | ed3d75b4f7fe50dcd8fa4b1335f33e4b |
| SHA1 | 0ca8cef4efe441f269bee3a31303f879ad909da7 |
| SHA256 | 9d6222df250d699c9e5f0d385573817b6c70c0ed9310f7dc9823fd0c57513cc4 |
| SHA512 | b7e1608228e1b62b73b7ba7946cd00bf84c2d4799589ee84580fb8e6d88ad2c5ba583af39cd0ea3e3a02174b3eb91ff5294b3609050107ff395d7a7f8cad11fa |
POM
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>java-build-essentials</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<groupId>com.mlieshoff</groupId>
<url>https://maven.apache.org</url>
<inceptionYear>2025</inceptionYear>
<description>Java essentials for building</description>
<developers>
<developer>
<id>michael.lieshoff (ML)</id>
<name>Michael Lieshoff</name>
<email>michael.lieshoff@gmail.com</email>
<organization>psiclops</organization>
<roles>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<issueManagement>
<system>github</system>
<url>https://github.com/mlieshoff/java-build-essentials/issues</url>
</issueManagement>
<licenses>
<license>
<name>Apache License Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<properties>
<version.assertj>3.26.0</version.assertj>
<version.google-java-formatter>1.25.2</version.google-java-formatter>
<version.io>2.18.0</version.io>
<version.jacoco>0.8.10</version.jacoco>
<version.java>21</version.java>
<version.junit>5.8.2</version.junit>
<version.lombok>1.18.32</version.lombok>
<version.maven.exec>3.2.0</version.maven.exec>
<version.maven.source>3.0.1</version.maven.source>
<version.maven.spotless>2.44.2</version.maven.spotless>
<version.maven.surefire>2.22.2</version.maven.surefire>
<version.maven.surefire.junit>1.0.3</version.maven.surefire.junit>
<version.maven.packagecloud>0.0.4</version.maven.packagecloud>
<version.mockito>4.5.1</version.mockito>
<version.slf4j>1.8.0-beta2</version.slf4j>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.maven.source}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${version.java}</source>
<target>${version.java}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven.surefire}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${version.jacoco}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>ReleaseVersion</id>
<phase>prepare-package</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>com.mlieshoff.build.essentials.ReleaseVersionChecker</mainClass>
<arguments>
<argument>./VERSION.txt</argument>
<argument>./pom.xml</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>ReadmeVersion</id>
<phase>prepare-package</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>com.mlieshoff.build.essentials.ReadmeVersionChecker</mainClass>
<arguments>
<argument>./VERSION.txt</argument>
<argument>./README.md</argument>
<argument>${groupId}</argument>
<argument>${artifactId}</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>ChangelogVersion</id>
<phase>prepare-package</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>com.mlieshoff.build.essentials.ChangeLogVersionChecker</mainClass>
<arguments>
<argument>./VERSION.txt</argument>
<argument>./CHANGELOG.md</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${version.maven.spotless}</version>
<configuration>
<ratchetFrom>origin/main</ratchetFrom>
<java>
<removeUnusedImports/>
<googleJavaFormat>
<version>${version.google-java-formatter}</version>
<style>AOSP</style>
<reflowLongStrings>true</reflowLongStrings>
</googleJavaFormat>
</java>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<extensions>
<extension>
<groupId>io.packagecloud.maven.wagon</groupId>
<artifactId>maven-packagecloud-wagon</artifactId>
<version>${version.maven.packagecloud}</version>
</extension>
</extensions>
</build>
<dependencies>
<!-- compile -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${version.slf4j}</version>
</dependency>
<!-- others -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${version.lombok}</version>
<scope>provided</scope>
</dependency>
<!-- test -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${version.assertj}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${version.mockito}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${version.mockito}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${version.io}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${version.slf4j}</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>packagecloud</id>
<url>packagecloud+https://packagecloud.io/mlieshoff/java-build-essentials</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>mlieshoff-java-build-essentials</id>
<url>https://packagecloud.io/mlieshoff/java-build-essentials/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>