dependencies/pom.xml
Oliver Weyhmueller e3591ac3f1
Some checks failed
release / Release (push) Failing after 1m8s
feat: add dependencies for json logging directly to POM
2025-01-05 09:33:00 +01:00

168 lines
6.3 KiB
XML

<?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.w9r.pom</groupId>
<artifactId>dependencies</artifactId>
<version>0.0.1</version>
<name>Common Dependency Project Object Model for Maven Builds</name>
<description>Common dependencies and management of their versions</description>
<url>https://w9r.dev/pom/dependencies</url>
<developers>
<developer>
<id>oliver</id>
<name>Oliver Weyhmüller</name>
<email>oliver@weyhmueller.de</email>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/aalmiray/app.git</connection>
<developerConnection>scm:git:https://w9r.dev/pom/dependencies.git</developerConnection>
<url>https://w9r.dev/pom/dependencies.git</url>
<tag>HEAD</tag>
</scm>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<w9r.logback.json.version>0.1.5</w9r.logback.json.version>
<w9r.logback.version>1.5.15</w9r.logback.version>
</properties>
<licenses>
<license>
<name>MIT</name>
<url>https://spdx.org/licenses/MIT.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<!--
This file is used to provide common versions of dependencies and also temporary import updated versions of
dependencies until they make their way into the proper release of the used frameworks.
-->
<distributionManagement>
<snapshotRepository>
<id>maven-snapshots</id>
<url>https://nexus.w9r.dev/repository/maven-snapshots</url>
</snapshotRepository>
<repository>
<id>maven-releases</id>
<url>https://nexus.w9r.dev/repository/maven-releases</url>
</repository>
</distributionManagement>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${w9r.logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${w9r.logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-json-classic</artifactId>
<version>${w9r.logback.json.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-jackson</artifactId>
<version>${w9r.logback.json.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- JSON logging -->
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-json-classic</artifactId>
<version>${w9r.logback.json.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-jackson</artifactId>
<version>${w9r.logback.json.version}</version>
</dependency>
<!-- End JSON logging -->
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>publication</id>
<properties>
<altDeploymentRepository>local::file:./target/staging-deploy</altDeploymentRepository>
</properties>
<build>
<defaultGoal>deploy</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>