spt-development-logging-spring-boot
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.spt-development</groupId>
<artifactId>spt-development-logging-spring-boot</artifactId>
<version>3.5.3</version>
</dependency><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.spt-development</groupId>
<artifactId>spt-development-logging-spring-boot</artifactId>
<version>3.5.3</version>
<name>logging-spring-boot</name>
<description>Library for integrating spt-development/spt-development-logging-spring into a Spring Boot application.</description>
<url>https://github.com/spt-development/spt-development-logging-spring-boot</url>
<scm>
<connection>scm:git:https://github.com/spt-development/spt-development-logging-spring-boot.git</connection>
<url>https://github.com/spt-development/spt-development-logging-spring-boot</url>
<tag>3.5.3</tag>
</scm>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<packaging>pom</packaging>
<modules>
<module>spt-development-logging-spring-boot-autoconfigure</module>
<module>spt-development-logging-spring-boot-starter</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.release>17</maven.compiler.release>
<!-- Maven version -->
<maven.min.version>3.9.4</maven.min.version>
<!-- Dependency versions -->
<spring-boot.version>3.5.3</spring-boot.version>
<spt-cid.version>2.0.15</spt-cid.version>
<spt-logging-spring.version>3.2.11</spt-logging-spring.version>
<!-- Plugin versions -->
<build-helper-maven-plugin.version>3.6.1</build-helper-maven-plugin.version>
<central-publishing-plugin.version>0.8.0</central-publishing-plugin.version>
<checkstyle-maven-plugin.version>3.6.0</checkstyle-maven-plugin.version>
<dependency-check-maven.version>12.1.3</dependency-check-maven.version>
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
<license-maven-plugin.version>2.6.0</license-maven-plugin.version>
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
<maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version>
<maven-enforcer-plugin.version>3.6.0</maven-enforcer-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
<maven-jxr-plugin.version>3.6.0</maven-jxr-plugin.version>
<maven-pmd-plugin.version>3.27.0</maven-pmd-plugin.version>
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
<maven-scm-plugin.version>2.1.0</maven-scm-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
<pitest-maven.version>1.20.0</pitest-maven.version>
<spotbugs.version>4.9.3.2</spotbugs.version>
<versions-maven-plugin.version>2.18.0</versions-maven-plugin.version>
<!-- Plugin dependencies -->
<checkstyle.version>10.26.1</checkstyle.version>
<findbugs-slf4j-bug-pattern.version>1.5.0</findbugs-slf4j-bug-pattern.version>
<findbugs-sec-bug-pattern.version>1.14.0</findbugs-sec-bug-pattern.version>
<pitest-junit5-plugin.version>1.2.3</pitest-junit5-plugin.version>
<pmd.version>7.15.0</pmd.version>
<slf4j.version>2.0.17</slf4j.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- BOMs -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- SPT dependencies -->
<dependency>
<groupId>com.spt-development</groupId>
<artifactId>spt-development-cid</artifactId>
<version>${spt-cid.version}</version>
</dependency>
<dependency>
<groupId>com.spt-development</groupId>
<artifactId>spt-development-logging-spring</artifactId>
<version>${spt-logging-spring.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle-maven-plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
<configuration>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<violationSeverity>warning</violationSeverity>
</configuration>
<executions>
<execution>
<id>google-checks</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<configLocation>google_checks.xml</configLocation>
<suppressionsLocation>config/checkstyle/google_checks_suppressions.xml</suppressionsLocation>
</configuration>
</execution>
<execution>
<id>spt-checks</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<configLocation>config/checkstyle/spt_checks.xml</configLocation>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>-proc:full</arg>
<arg>-Xlint:all</arg>
<arg>-Xlint:-processing</arg>
<arg>-parameters</arg>
<arg>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
<executions>
<execution>
<id>analyze</id>
<goals>
<goal>analyze-only</goal>
</goals>
<configuration>
<failOnWarning>true</failOnWarning>
<ignoreNonCompile>true</ignoreNonCompile>
<ignoreAllNonTestScoped>true</ignoreAllNonTestScoped>
<ignoredUnusedDeclaredDependencies>org.springframework.boot:spring-boot-configuration-processor</ignoredUnusedDeclaredDependencies>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>${maven-pmd-plugin.version}</version>
<dependencies>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>${pmd.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>${pmd.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-javascript</artifactId>
<version>${pmd.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-jsp</artifactId>
<version>${pmd.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
<configuration>
<goals>deploy</goals>
<scmCommentPrefix>[skip ci] [maven-release-plugin] </scmCommentPrefix>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<version>${maven-scm-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<trimStackTrace>false</trimStackTrace>
<includes>
<include>**/*Tests.java</include>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/*IT.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<configuration>
<outputFile>${project.build.directory}/dependency-versions.txt</outputFile>
<rulesUri>file:///${project.basedir}/config/versions/version-rules.xml</rulesUri>
</configuration>
<version>${versions-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs.version}</version>
<dependencies>
<!--
Added slf4j dependencies to resolve warning:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
...
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- Included as dependencies as well as plugins so that versions plugins picks up new versions -->
<dependency>
<groupId>jp.skypencil.findbugs.slf4j</groupId>
<artifactId>bug-pattern</artifactId>
<version>${findbugs-slf4j-bug-pattern.version}</version>
</dependency>
<dependency>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>${findbugs-sec-bug-pattern.version}</version>
</dependency>
</dependencies>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
<xmlOutput>false</xmlOutput>
<plugins>
<plugin>
<groupId>jp.skypencil.findbugs.slf4j</groupId>
<artifactId>bug-pattern</artifactId>
<version>${findbugs-slf4j-bug-pattern.version}</version>
</plugin>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>${findbugs-sec-bug-pattern.version}</version>
</plugin>
</plugins>
<excludeFilterFile>${project.basedir}/config/findbugs/findbugs-exclude.xml</excludeFilterFile>
</configuration>
<executions>
<execution>
<id>analyze-compile</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<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>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule>
<element>CLASS</element>
<limits>
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>1.0</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency-check-maven.version}</version>
<configuration>
<!-- Assembly analyzer disabled because we don't have any .NET code/dlls -->
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
<!-- Node and retirejs analyzer disabled, because any js floating around isn't part of the main app -->
<nodeAnalyzerEnabled>false</nodeAnalyzerEnabled>
<failBuildOnCVSS>0</failBuildOnCVSS>
<suppressionFiles>
<suppressionFile>${project.basedir}/config/owasp/suppress.xml</suppressionFile>
</suppressionFiles>
</configuration>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>${pitest-maven.version}</version>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>parent-enforce</id>
<phase>compile</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireFilesExist>
<files>
<!-- Minimum set of documentation required -->
<file>${project.basedir}/README.md</file>
<file>${project.basedir}/documentation/releases/release-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.md</file>
</files>
</requireFilesExist>
</rules>
</configuration>
</execution>
</executions>
<!-- Version defined in pluginManagement section -->
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<configuration>
<skip>true</skip>
</configuration>
<!-- Version and configuration etc defined in pluginManagement section -->
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<!-- Version and configuration defined in pluginManagement section -->
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<!-- Version defined in pluginMannagement section -->
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Additional quality gates not run by default when executing mvn clean verify, but are run by CI pipeline -->
<id>all-quality-gates</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<includeTests>false</includeTests>
<printFailingErrors>true</printFailingErrors>
<rulesets>
<ruleset>config/pmd/rulesets/spt-default-rules.xml</ruleset>
<ruleset>config/pmd/rulesets/spt-main-rules.xml</ruleset>
</rulesets>
</configuration>
<executions>
<execution>
<id>pmd-main-check</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
<execution>
<id>pmd-test-check</id>
<phase>validate</phase>
<goals>
<goal>pmd</goal>
<goal>check</goal>
</goals>
<configuration>
<targetDirectory>${project.build.directory}/pmdTest/</targetDirectory>
<includeTests>true</includeTests>
<excludeRoots>
<excludeRoot>${basedir}/src/main/java</excludeRoot>
</excludeRoots>
<rulesets>
<ruleset>config/pmd/rulesets/spt-default-rules.xml</ruleset>
<ruleset>config/pmd/rulesets/spt-test-rules.xml</ruleset>
</rulesets>
</configuration>
</execution>
<execution>
<id>cpd-check</id>
<phase>validate</phase>
<goals>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
<!-- Version defined in pluginManagement section -->
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<dependencies>
<dependency>
<groupId>org.pitest</groupId>
<artifactId>pitest-junit5-plugin</artifactId>
<version>${pitest-junit5-plugin.version}</version>
</dependency>
</dependencies>
<configuration>
<mutationThreshold>100</mutationThreshold>
</configuration>
<executions>
<execution>
<id>mutation-testing</id>
<phase>verify</phase>
<goals>
<goal>mutationCoverage</goal>
</goals>
</execution>
</executions>
<!-- Version defined in pluginManagement section -->
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>add-third-party</goal>
</goals>
<configuration>
<failOnBlacklist>true</failOnBlacklist>
<licenseMerges>
<!-- Aggregate different ways to write acceptable licenses -->
<licenseMerge>CC0 1.0 Universal (CC0 1.0) Public Domain Dedication|
Public Domain, per Creative Commons CC0
</licenseMerge>
<licenseMerge>Eclipse Distribution License - v1.0|
Eclipse Distribution License - v 1.0
</licenseMerge>
<licenseMerge>Eclipse Public License - v1.0|
Eclipse Public License 1.0|Eclipse Public License - v 1.0|EDL 1.0
</licenseMerge>
<licenseMerge>Eclipse Public License - v2.0|
Eclipse Public License 2.0|Eclipse Public License v2.0|EPL 2.0|
Eclipse Public License - v 2.0
</licenseMerge>
<licenseMerge>The 2-Clause BSD License|BSD-2-Clause
</licenseMerge>
<licenseMerge>The 3-Clause BSD License|BSD License 3|BSD-3-Clause
</licenseMerge>
<licenseMerge>The Apache Software License, Version 2.0|Apache2|
Apache-2.0|Apache 2|APL2|Apache 2.0|Apache License, Version 2.0|
The Apache License, Version 2.0|Apache Software License - Version 2.0|
the Apache License, ASL Version 2.0|ASL 2.0|Apache License 2.0|ASL, version 2
</licenseMerge>
<licenseMerge>The MIT License|
MIT license|The MIT License (MIT)|MIT License|MIT|MIT-style
</licenseMerge>
</licenseMerges>
<includedLicenses>
<!-- To get an idea of risk, see - https://www.synopsys.com/blogs/software-security/top-open-source-licenses/ -->
<includedLicense>CC0 1.0 Universal (CC0 1.0) Public Domain Dedication</includedLicense>
<includedLicense>Eclipse Distribution License - v1.0</includedLicense>
<includedLicense>Eclipse Public License - v1.0</includedLicense>
<includedLicense>Eclipse Public License - v2.0</includedLicense>
<includedLicense>The 2-Clause BSD License</includedLicense>
<includedLicense>The 3-Clause BSD License</includedLicense>
<includedLicense>The Apache Software License, Version 2.0</includedLicense>
<includedLicense>The MIT License</includedLicense>
</includedLicenses>
</configuration>
</execution>
</executions>
<!-- Version defined in pluginManagement section -->
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>release</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<!-- Version defined in pluginManagement section -->
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<!-- Version defined in pluginManagement section -->
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
<!-- Version defined in pluginManagement section -->
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
<!-- Version defined in pluginManagement section -->
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<!-- Version and configuration etc defined in pluginManagement section -->
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<!-- Version and configuration etc defined in pluginManagement section -->
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<!-- Version and configuration etc defined in pluginManagement section -->
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<!-- Version and configuration etc defined in pluginManagement section -->
</plugin>
</plugins>
</build>
</profile>
</profiles>
<reporting>
<plugins>
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
<version>${maven-jxr-plugin.version}</version>
</plugin>
</plugins>
</reporting>
<developers>
<developer>
<name>Simon Taylor</name>
<email>simon.taylor@spt-development.com</email>
<organizationUrl>http://www.spt-development.com</organizationUrl>
</developer>
</developers>
<distributionManagement>
<site>
<id>github</id>
<url>https://github.com/spt-development/spt-development-logging-spring-boot</url>
</site>
</distributionManagement>
</project>