dept44-build-tools
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>se.sundsvall.dept44</groupId>
<artifactId>dept44-build-tools</artifactId>
<version>8.0.8</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>se.sundsvall.dept44</groupId>
<artifactId>dept44-parent</artifactId>
<version>8.0.8</version>
</parent>
<artifactId>dept44-build-tools</artifactId>
<packaging>maven-plugin</packaging>
<name>dept44-build-tools</name>
<description>Provides essential build utilities and checks, including tools for verifying OpenAPI properties and truststore configurations.</description>
<url>https://github.com/Sundsvallskommun/dept44</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
</license>
</licenses>
<developers>
<developer>
<name>Utvecklingsfabriken Sundsvall kommun</name>
<url>https://github.com/orgs/Sundsvallskommun/people</url>
<organization>Sundsvalls kommun</organization>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/Sundsvallskommun/dept44.git</connection>
<developerConnection>scm:git:https://github.com/Sundsvallskommun/dept44.git</developerConnection>
<tag>dept44-release-8.0.8</tag>
<url>https://github.com/Sundsvallskommun/dept44</url>
</scm>
<properties>
<bcpkix-jdk18on.version>1.84</bcpkix-jdk18on.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<scope>provided</scope>
</dependency>
<!-- Maven API -->
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven-api.version}</version>
<scope>provided</scope>
</dependency>
<!-- Jackson 3.x -->
<dependency>
<groupId>tools.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
</dependency>
<!-- Test -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>${bcpkix-jdk18on.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>se.sundsvall.dept44</groupId>
<artifactId>dept44-formatting-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${maven-plugin-annotations.version}</version>
<configuration>
<goalPrefix>dept44</goalPrefix>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${mockito.agent} ${argLine}</argLine>
</configuration>
</plugin>
<plugin>
<!-- This instance checks coverage for this Dept-44-module. For service code coverage, see pom.xml in dept44-service-parent module -->
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<phase>test</phase>
</execution>
<execution>
<id>check-coverage-metrics</id>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
<configuration>
<!-- Tell jacoco which file to analyze -->
<dataFile>${project.build.directory}/jacoco.exec</dataFile>
<rules>
<rule>
<element>CLASS</element>
<limits>
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>${coverage.line.level}</minimum>
</limit>
<limit>
<counter>BRANCH</counter>
<value>COVEREDRATIO</value>
<minimum>${coverage.branch.level}</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>