wiser-unit
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>berlin.yuna</groupId>
<artifactId>wiser-unit</artifactId>
<version>2026.03.0800324</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>
<groupId>berlin.yuna</groupId>
<artifactId>wiser-unit</artifactId>
<version>2026.03.0800324</version>
<name>Wiser Unit</name>
<description>BDD test methods and generates report
</description>
<url>https://github.com/YunaBraska/wiser-unit</url>
<scm>
<connection>scm:git:ssh://git@github.com/YunaBraska/wiser-unit.git</connection>
<developerConnection>scm:git:ssh://git@github.com/YunaBraska/wiser-unit.git</developerConnection>
<url>https://github.com/YunaBraska/wiser-unit.git</url>
</scm>
<developers>
<developer>
<name>Yuna Morgenstern</name>
<email>io@yuna.berlin</email>
</developer>
</developers>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<properties>
<!-- PROPERTIES -->
<java-version>17</java-version>
<project.encoding>UTF-8</project.encoding>
<project.build.sourceEncoding>${project.encoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${project.encoding}</project.reporting.outputEncoding>
<!-- PROD -->
<junit.version>6.0.3</junit.version>
<hamcrest-core.version>3.0</hamcrest-core.version>
<jackson-databind.version>2.19.0</jackson-databind.version>
<jackson-datatype-jsr310.version>2.19.0</jackson-datatype-jsr310.version>
<jackson-dataformat-yaml.version>2.19.0</jackson-dataformat-yaml.version>
<!-- TEST -->
<junit-launcher.version>6.0.3</junit-launcher.version>
<!-- PROJECT -->
<junit-jupiter.version>6.0.3</junit-jupiter.version>
<hamcrest-core.version>3.0</hamcrest-core.version>
<jackson-databind.version>2.21.2</jackson-databind.version>
<jackson-datatype-jsr310.version>2.21.2</jackson-datatype-jsr310.version>
<jackson-dataformat-yaml.version>2.21.2</jackson-dataformat-yaml.version>
<!-- BUILD -->
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
<maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version>
<maven-compiler-plugin.version>3.15.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version>
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
</properties>
<dependencies>
<!-- PROD -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${junit-launcher.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-databind.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson-dataformat-yaml.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>${jackson-datatype-jsr310.version}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest-core.version}</version>
<scope>provided</scope>
</dependency>
<!-- TEST -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit-jupiter.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java-version}</source>
<target>${java-version}</target>
<release>${java-version}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<configuration>
<excludes>
<!--
* Match zero or more characters
** Match zero or more directories
? Match a single character
-->
<exclude>**/*/config/**/*</exclude>
<exclude>**/*/model/**/*</exclude>
<exclude>**/*/domain/**/*</exclude>
<exclude>**/*/persistence/**/*</exclude>
<exclude>**/*/target/**/*</exclude>
</excludes>
</configuration>
<executions>
<execution> <!-- 1 -->
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${project.build.directory}/jacoco-ut.exec</destFile>
</configuration>
</execution>
<execution> <!-- 2 -->
<id>pre-integration-prepare</id>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
</execution>
<execution> <!-- 3 -->
<id>report</id>
<phase>post-integration-test</phase>
<goals>
<goal>merge</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>*.exec</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
<execution> <!-- 4 -->
<id>merged-report-generation</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- MAVEN CENTRAL USAGE -->
<profiles>
<profile>
<!-- mvn clean deploy -P release -->
<id>release</id>
<activation>
<property>
<name>release</name>
<value>true</value>
</property>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<!-- QUALITY GATE -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<release>${java-version}</release>
<nodeprecatedlist>true</nodeprecatedlist>
<quiet>true</quiet>
<!-- disable strict checking -->
<doclint>none</doclint>
<failOnError>false</failOnError>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<!-- https://maven.apache.org/guides/mini/guide-encryption.html -->
<!-- https://central.sonatype.org/pages/apache-maven.html#distribution-management-and-authentication -->
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<!-- DEPLOYMENT -->
<plugin>
<!-- https://central.sonatype.org/publish/publish-portal-maven/#plugin-configuration-options -->
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<deploymentName>${project.groupId}:${project.artifactId}:${project.version}
</deploymentName>
<!-- <ignorePublishedComponents>true</ignorePublishedComponents>-->
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>