spring-boot-audit-event-logger
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.dnastack</groupId>
<artifactId>spring-boot-audit-event-logger</artifactId>
<version>4.0.1</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>com.dnastack</groupId>
<artifactId>spring-boot-audit-event-logger</artifactId>
<version>4.0.1</version> <!-- All modules match this version. Keep it at 1.0.0-SNAPSHOT. The CI build updates it globally at build time to the value of `git describe`. -->
<name>spring-boot-audit-event-logger</name>
<description>Audit events in a Spring Boot application.</description>
<url>https://github.com/DNAstack/java-open-source-libraries</url>
<packaging>jar</packaging>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Kevin Hong</name>
<email>kevin@dnastack.com</email>
<organization>DNAstack</organization>
<organizationUrl>https://www.dnastack.com</organizationUrl>
</developer>
<developer>
<name>Jabran Khan</name>
<email>jabran@dnastack.com</email>
<organization>DNAstack</organization>
<organizationUrl>https://www.dnastack.com</organizationUrl>
</developer>
<developer>
<name>Maxmillian Barkley</name>
<email>max@dnastack.com</email>
<organization>DNAstack</organization>
<organizationUrl>https://www.dnastack.com</organizationUrl>
</developer>
<developer>
<name>Angelo Genovese</name>
<email>angelo@dnastack.com</email>
<organization>DNAstack</organization>
<organizationUrl>https://www.dnastack.com</organizationUrl>
</developer>
<developer>
<name>Usanthan Kajendirarajah</name>
<email>usanthan@dnastack.com</email>
<organization>DNAstack</organization>
<organizationUrl>https://www.dnastack.com</organizationUrl>
</developer>
<developer>
<name>Jakub Stromsky</name>
<email>jakub@dnastack.com</email>
<organization>DNAstack</organization>
<organizationUrl>https://www.dnastack.com</organizationUrl>
</developer>
<developer>
<name>A N M Bazlur Rahman</name>
<email>anmbazlur@dnastack.com</email>
<organization>DNAstack</organization>
<organizationUrl>https://www.dnastack.com</organizationUrl>
</developer>
</developers>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.5.14</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<properties>
<java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.surefile.plugin.version>3.5.5</maven.surefile.plugin.version>
<sign-maven-plugin.version>1.1.0</sign-maven-plugin.version>
<!-- DNAstack Libs -->
<!-- Sibling module in the aggregator; bound to ${project.version} so it tracks the aggregator version. -->
<dnastack.audit-event-logger.version>${project.version}</dnastack.audit-event-logger.version>
<!-- Other -->
<!-- Kept in sync with dnastack-java-parent/spring-boot-parent so consumers that inherit
from that parent get a single, consistent spring-cloud-dependencies version. -->
<spring-cloud.version>2024.0.3</spring-cloud.version>
<slf4j.version>2.0.17</slf4j.version>
<junit.version>5.14.3</junit.version>
<mockito.version>5.23.0</mockito.version>
<hamcrest.version>2.2</hamcrest.version>
<jspecify.version>1.0.0</jspecify.version>
<!-- Override spring-boot-starter-parent's 3.11.3 which spuriously passes `-1.1` to javadoc
during JPMS offline-links detection. -->
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- DNAstack -->
<dependency>
<groupId>com.dnastack</groupId>
<artifactId>dnastack-audit-event-logger</artifactId>
<version>${dnastack.audit-event-logger.version}</version>
</dependency>
<!-- Nullability annotations -->
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<version>${jspecify.version}</version>
</dependency>
<!-- Can be removed? -->
<dependency>
<groupId>io.vavr</groupId>
<artifactId>vavr</artifactId>
<version>0.11.0</version>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- Spring -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator-autoconfigure</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!-- Tracing and Metrics -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-observation</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
</dependency>
<!-- Security -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-jose</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-resource-server</artifactId>
</dependency>
<!-- Development Tools -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<!-- Test -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- Annotation processing is needed by Lombok -->
<compilerArgs>
<arg>-proc:full</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefile.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<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>
<configuration>
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
<source>${java.version}</source>
<!-- Suppress "no comment" floods; keep real checks like malformed @param/@return tags. -->
<doclint>all,-missing</doclint>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- Signs artifacts when SIGN_KEY/SIGN_KEY_PASS env vars are set; skips otherwise so
local builds work without a key. CI must set those vars to produce signed jars. -->
<groupId>org.simplify4u.plugins</groupId>
<artifactId>sign-maven-plugin</artifactId>
<version>${sign-maven-plugin.version}</version>
<configuration>
<skipNoKey>true</skipNoKey>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- Activate to deploy this module to DNAstack's private GitHub Packages Maven repo. -->
<profile>
<id>dnastack-gh-packages</id>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub DNAstack Apache Maven Packages</name>
<url>https://maven.pkg.github.com/DNAstack/dnastack-packages</url>
</repository>
</distributionManagement>
</profile>
</profiles>
<scm>
<connection>scm:git:https://github.com/DNAstack/java-open-source-libraries.git</connection>
<developerConnection>scm:git:ssh://git@github.com/DNAstack/java-open-source-libraries.git</developerConnection>
<url>https://github.com/DNAstack/java-open-source-libraries/tree/main</url>
</scm>
</project>