api-sheriff-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>de.cuioss.sheriff.api</groupId>
<artifactId>api-sheriff-parent</artifactId>
<version>1.0.0</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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cuioss</groupId>
<artifactId>cui-java-parent</artifactId>
<version>1.5.0</version>
<relativePath />
</parent>
<groupId>de.cuioss.sheriff.api</groupId>
<artifactId>api-sheriff-parent</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>API Sheriff Parent</name>
<description>An API-Gateway focused on Security and a lightweight approach.
The module provides robust API gateway capabilities with comprehensive security features,
rate limiting, authentication, and authorization in multi-tenant environments.
</description>
<url>https://github.com/cuioss/api-sheriff/</url>
<modules>
<module>api-sheriff</module>
<module>integration-tests</module>
<module>benchmarks</module>
</modules>
<scm>
<url>https://github.com/cuioss/api-sheriff/</url>
<connection>
scm:git:https://github.com/cuioss/api-sheriff.git
</connection>
<developerConnection>
scm:git:https://github.com/cuioss/api-sheriff/
</developerConnection>
<tag>1.0.0</tag>
</scm>
<issueManagement>
<url>https://github.com/cuioss/api-sheriff/issues</url>
<system>GitHub Issues</system>
</issueManagement>
<properties>
<maven.compiler.release>25</maven.compiler.release>
<version.quarkus>3.37.2</version.quarkus>
<version.oauth-sheriff>0.8.0</version.oauth-sheriff>
<!-- Default empty argLine for JaCoCo compatibility - JaCoCo will override this when active -->
<argLine />
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bom</artifactId>
<version>${version.quarkus}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>de.cuioss</groupId>
<artifactId>java-ee-orthogonal</artifactId>
<version>${version.cui.parent}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>de.cuioss</groupId>
<artifactId>java-ee-10-bom</artifactId>
<version>${version.cui.parent}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Internal modules -->
<dependency>
<groupId>de.cuioss.sheriff.api</groupId>
<artifactId>api-sheriff</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Override JUnit Platform versions to match Jupiter (cui-java-parent provides
version.junit.jupiter, but the Quarkus BOM pins older Platform versions) -->
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-engine</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${version.junit.jupiter}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${version.quarkus}</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>build</goal>
<goal>generate-code</goal>
<goal>generate-code-tests</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>${maven.compiler.release}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<java.util.logging.config.file>${project.build.testOutputDirectory}/logging.properties</java.util.logging.config.file>
<maven.home>${maven.home}</maven.home>
<quarkus.test.arg-line>@{argLine}</quarkus.test.arg-line>
</systemPropertyVariables>
<useModulePath>false</useModulePath>
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<enableAssertions>true</enableAssertions>
<!-- JaCoCo-compatible argLine (will be empty if JaCoCo not active) -->
<argLine>@{argLine} -XX:+IgnoreUnrecognizedVMOptions -Djava.awt.headless=true</argLine>
<!-- Stability configurations -->
<forkedProcessTimeoutInSeconds>0</forkedProcessTimeoutInSeconds>
<forkedProcessExitTimeoutInSeconds>60</forkedProcessExitTimeoutInSeconds>
<!-- Fix for class loading issues -->
<useSystemClassLoader>false</useSystemClassLoader>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<java.util.logging.config.file>${project.build.testOutputDirectory}/logging.properties</java.util.logging.config.file>
<maven.home>${maven.home}</maven.home>
<quarkus.test.arg-line>@{argLine}</quarkus.test.arg-line>
</systemPropertyVariables>
<useModulePath>false</useModulePath>
<useFile>false</useFile>
<trimStackTrace>false</trimStackTrace>
<enableAssertions>true</enableAssertions>
<argLine>@{argLine} -XX:+IgnoreUnrecognizedVMOptions -Djava.awt.headless=true</argLine>
<!-- Fix for class loading issues -->
<useSystemClassLoader>false</useSystemClassLoader>
<reuseForks>false</reuseForks>
<!-- Standardized IT naming patterns -->
<includes>
<include>**/*IT.java</include>
<include>**/*IntegrationTest.java</include>
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>coverage</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<append>true</append>
<destFile>${project.build.directory}/jacoco.exec</destFile>
</configuration>
</execution>
<execution>
<id>prepare-agent-integration</id>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
<configuration>
<destFile>${project.build.directory}/jacoco-it.exec</destFile>
<append>true</append>
</configuration>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/site/jacoco</outputDirectory>
<formats>
<format>XML</format>
<format>HTML</format>
</formats>
</configuration>
</execution>
<execution>
<id>report-integration</id>
<phase>post-integration-test</phase>
<goals>
<goal>report-integration</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/site/jacoco-it</outputDirectory>
<formats>
<format>XML</format>
<format>HTML</format>
</formats>
</configuration>
</execution>
<execution>
<id>merge-results</id>
<phase>verify</phase>
<goals>
<goal>merge</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>*.exec</include>
</includes>
</fileSet>
</fileSets>
<destFile>${project.build.directory}/jacoco-merged.exec</destFile>
</configuration>
</execution>
<execution>
<id>report-merged</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<dataFile>${project.build.directory}/jacoco-merged.exec</dataFile>
<outputDirectory>${project.build.directory}/site/jacoco-merged</outputDirectory>
<formats>
<format>XML</format>
<format>HTML</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<properties>
<sonar.coverage.jacoco.xmlReportPaths>
${project.build.directory}/site/jacoco/jacoco.xml,
api-sheriff/target/site/jacoco/jacoco.xml,
../target/site/jacoco/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
</properties>
</profile>
</profiles>
</project>