<?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>dev.fitko.fitconnect.sdk</groupId> <artifactId>sdk-java</artifactId> <packaging>pom</packaging> <version>1.0.0-SNAPSHOT</version> <name>FIT-Connect Java SDK</name> <description>Library for sending and subscribing to submissions of the FIT-Connect REST-API</description> <url>https://git.fitko.de/fit-connect/sdk-java</url> <licenses> <license> <name>EUPL-1.2</name> <url>https://joinup.ec.europa.eu/page/eupl-text-11-12</url> <distribution>repo</distribution> </license> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0</url> <distribution>repo</distribution> </license> <license> <name>CC0-1.0</name> <url>https://creativecommons.org/publicdomain/zero/1.0/deed.en</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <name>Marco Holz</name> <email>fit-connect@fitko.de</email> <organization>FITKO</organization> <organizationUrl>https://www.fitko.de</organizationUrl> </developer> </developers> <scm> <connection>scm:git:https://git.fitko.de/fit-connect/sdk-java</connection> <developerConnection>scm:git:https://git.fitko.de/fit-connect/sdk-java</developerConnection> <url>https://git.fitko.de/fit-connect/sdk-java</url> </scm> <properties> <java.version>11</java.version> <maven.compiler.release>11</maven.compiler.release> <encoding>UTF-8</encoding> <project.build.sourceEncoding>${encoding}</project.build.sourceEncoding> <project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding> <!-- FIT-Connect dependencies --> <jwk-validator.version>1.5.0</jwk-validator.version> <!-- 3rd party dependencies --> <nimbus.version>9.31</nimbus.version> <okhttp.version>4.10.0</okhttp.version> <jackson-databind.version>2.14.2</jackson-databind.version> <jackson-annotations.version>2.14.2</jackson-annotations.version> <lombock.version>1.18.26</lombock.version> <logback.version>1.4.7</logback.version> <slf4j.version>2.0.7</slf4j.version> <jcommander.version>1.82</jcommander.version> <apache-tika.version>2.7.0</apache-tika.version> <snakeyaml.version>2.0</snakeyaml.version> <open-csv.version>5.7.1</open-csv.version> <json-schema-validator.version>1.0.80</json-schema-validator.version> <!-- Testing --> <junit.version>5.9.2</junit.version> <mockito.version>5.2.0</mockito.version> <junit-platform-version>1.9.2</junit-platform-version> <mockito.version>5.3.1</mockito.version> <wiremock.version>2.27.2</wiremock.version> <hamcrest.version>1.3</hamcrest.version> <awaitility-version>4.2.0</awaitility-version> <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> <maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version> <maven-failsafe-plugin.version>3.0.0</maven-failsafe-plugin.version> <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version> <maven-install-plugin.version>3.1.1</maven-install-plugin.version> <maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version> <maven-checkstyle-plugin.version>3.2.2</maven-checkstyle-plugin.version> <maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version> <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version> <maven-source-plugin.version>3.2.1</maven-source-plugin.version> <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> <git-commit-id-maven-plugin.version>5.0.0</git-commit-id-maven-plugin.version> <jacoco-maven-plugin.version>0.8.9</jacoco-maven-plugin.version> <local-version-suffix>-local</local-version-suffix> </properties> <modules> <module>api</module> <module>core</module> <module>client</module> <module>integration-tests</module> </modules> <dependencyManagement> <dependencies> <!-- Module Dependencies --> <dependency> <groupId>dev.fitko.fitconnect.sdk</groupId> <artifactId>api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>dev.fitko.fitconnect.sdk</groupId> <artifactId>core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>dev.fitko.fitconnect.sdk</groupId> <artifactId>client</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>dev.fitko.fitconnect.sdk</groupId> <artifactId>integration-tests</artifactId> <version>${project.version}</version> </dependency> <!-- FIT-Connect dependencies --> <dependency> <groupId>dev.fitko.fitconnect</groupId> <artifactId>jwkvalidator</artifactId> <version>${jwk-validator.version}</version> </dependency> <!-- 3rd Party Dependencies --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson-databind.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${jackson-annotations.version}</version> </dependency> <dependency> <groupId>com.nimbusds</groupId> <artifactId>nimbus-jose-jwt</artifactId> <version>${nimbus.version}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>com.networknt</groupId> <artifactId>json-schema-validator</artifactId> <version>${json-schema-validator.version}</version> </dependency> <dependency> <groupId>com.beust</groupId> <artifactId>jcommander</artifactId> <version>${jcommander.version}</version> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>${snakeyaml.version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombock.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.tika</groupId> <artifactId>tika-core</artifactId> <version>${apache-tika.version}</version> </dependency> <dependency> <groupId>com.opencsv</groupId> <artifactId>opencsv</artifactId> <version>${open-csv.version}</version> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>${okhttp.version}</version> </dependency> <!-- Testing --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <version>${hamcrest.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.tomakehurst</groupId> <artifactId>wiremock</artifactId> <version>${wiremock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <version>${awaitility-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-suite-engine</artifactId> <version>${junit-platform-version}</version> </dependency> </dependencies> </dependencyManagement> <repositories> <repository> <id>maven-snapshots</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </repository> <repository> <id>maven-release</id> <url>https://repo.maven.apache.org/maven2/</url> </repository> </repositories> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>${maven-install-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <argLine> --illegal-access=permit </argLine> <testFailureIgnore>false</testFailureIgnore> <forkCount>2</forkCount> <reuseForks>true</reuseForks> <argLine>${surefireArgLine}</argLine> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-failsafe-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>${maven-assembly-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven-checkstyle-plugin.version}</version> <configuration> <configLocation>checkstyle.xml</configLocation> </configuration> <executions> <execution> <id>verify</id> <phase>verify</phase> <configuration> <suppressionsLocation> checkstyle-suppressions.xml </suppressionsLocation> </configuration> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <!-- maven snapshot deployment --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus-staging-maven-plugin.version}</version> <extensions>true</extensions> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </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-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <failOnError>false</failOnError> <additionalOptions>-Xdoclint:all -Xdoclint:-missing</additionalOptions> <additionalJOptions> <additionalJOption>-Xdoclint:all</additionalJOption> <additionalJOption>-Xdoclint:-missing</additionalJOption> </additionalJOptions> </configuration> </plugin> <plugin> <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> <version>${git-commit-id-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco-maven-plugin.version}</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> <propertyName>surefireArgLine</propertyName> </configuration> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>COMPLEXITY</counter> <value>COVEREDRATIO</value> <minimum>0.80</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> <execution> <id>default-report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile> <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory> </configuration> </execution> </executions> </plugin> </plugins> </pluginManagement> </build> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> </project>