| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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>org.apache.sling</groupId> |
| <artifactId>sling-bundle-parent</artifactId> |
| <version>47</version> |
| <relativePath/> |
| </parent> |
| |
| <artifactId>org.apache.sling.extensions.slf4j.mdc</artifactId> |
| <version>1.0.1-SNAPSHOT</version> |
| |
| <name>Apache Sling SLF4J MDC Filter</name> |
| <description> |
| SLF4J Message Diagnostic Context (MDC) Filter which extracts various details |
| from requests and adds them to the MDC |
| </description> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-extensions-slf4j-mdc.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-extensions-slf4j-mdc.git</developerConnection> |
| <url>https://github.com/apache/sling-org-apache-sling-extensions-slf4j-mdc.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <properties> |
| <sling.java.version>8</sling.java.version> |
| <project.build.outputTimestamp>1</project.build.outputTimestamp> |
| <pax-exam.version>4.13.3</pax-exam.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.servicemix.tooling</groupId> |
| <artifactId>depends-maven-plugin</artifactId> |
| </plugin> |
| |
| <!-- integration tests run with pax-exam --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <systemPropertyVariables combine.children="append"> |
| <bundle.filename>${basedir}/target/${project.build.finalName}.jar</bundle.filename> |
| </systemPropertyVariables> |
| <reuseForks>false</reuseForks> |
| <parallel>none</parallel> |
| <threadCount>1</threadCount> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.metatype.annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.component.annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.cm</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.api</artifactId> |
| <version>2.16.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Testing --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Pax Exam Dependencies --> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.framework</artifactId> |
| <version>7.0.3</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.testing.paxexam</artifactId> |
| <version>3.1.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.testing.tools</artifactId> |
| <version>1.0.16</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam</artifactId> |
| <version>${pax-exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-cm</artifactId> |
| <version>${pax-exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-container-forked</artifactId> |
| <version>${pax-exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-junit4</artifactId> |
| <version>${pax-exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-link-mvn</artifactId> |
| <version>${pax-exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>4.5.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.testing.sling-mock.junit4</artifactId> |
| <version>3.2.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.testing.osgi-mock.junit4</artifactId> |
| <version>3.2.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |