| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
Licensed to the Apache Software Foundation (ASF) under one |
| 4 |
or more contributor license agreements. See the NOTICE file |
| 5 |
distributed with this work for additional information |
| 6 |
regarding copyright ownership. The ASF licenses this file |
| 7 |
to you under the Apache License, Version 2.0 (the |
| 8 |
"License"); you may not use this file except in compliance |
| 9 |
with the License. You may obtain a copy of the License at |
| 10 |
|
| 11 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 12 |
|
| 13 |
Unless required by applicable law or agreed to in writing, |
| 14 |
software distributed under the License is distributed on an |
| 15 |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 |
KIND, either express or implied. See the License for the |
| 17 |
specific language governing permissions and limitations |
| 18 |
under the License. |
| 19 |
--> |
| 20 |
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 21 |
<modelVersion>4.0.0</modelVersion> |
| 22 |
|
| 23 |
<parent> |
| 24 |
<groupId>org.apache.maven</groupId> |
| 25 |
<artifactId>maven</artifactId> |
| 26 |
<version>3.9.12</version> |
| 27 |
</parent> |
| 28 |
|
| 29 |
<artifactId>maven-slf4j-provider</artifactId> |
| 30 |
|
| 31 |
<name>Maven SLF4J Simple Provider</name> |
| 32 |
<description>Maven SLF4J provider based on SLF4J's simple provider, extended to support Maven styled colors |
| 33 |
for levels and stacktraces rendering.</description> |
| 34 |
|
| 35 |
<dependencies> |
| 36 |
<dependency> |
| 37 |
<groupId>org.slf4j</groupId> |
| 38 |
<artifactId>slf4j-api</artifactId> |
| 39 |
</dependency> |
| 40 |
<dependency> |
| 41 |
<groupId>org.apache.maven.shared</groupId> |
| 42 |
<artifactId>maven-shared-utils</artifactId> |
| 43 |
</dependency> |
| 44 |
</dependencies> |
| 45 |
|
| 46 |
<build> |
| 47 |
<plugins> |
| 48 |
<plugin> |
| 49 |
<groupId>org.apache.maven.plugins</groupId> |
| 50 |
<artifactId>maven-dependency-plugin</artifactId> |
| 51 |
<configuration> |
| 52 |
<artifactItems> |
| 53 |
<artifactItem> |
| 54 |
<groupId>org.slf4j</groupId> |
| 55 |
<artifactId>slf4j-simple</artifactId> |
| 56 |
<version>${slf4jVersion}</version> |
| 57 |
<type>jar</type> |
| 58 |
<classifier>sources</classifier> |
| 59 |
<overWrite>false</overWrite> |
| 60 |
<outputDirectory>${project.build.directory}/generated-sources/slf4j-simple</outputDirectory> |
| 61 |
<includes>org/slf4j/impl/*.java</includes> |
| 62 |
<excludes>org/slf4j/impl/StaticLoggerBinder*</excludes> |
| 63 |
</artifactItem> |
| 64 |
</artifactItems> |
| 65 |
</configuration> |
| 66 |
<executions> |
| 67 |
<execution> |
| 68 |
<id>unzip-slf4j-simple</id> |
| 69 |
<goals> |
| 70 |
<goal>unpack</goal> |
| 71 |
</goals> |
| 72 |
</execution> |
| 73 |
</executions> |
| 74 |
</plugin> |
| 75 |
<plugin> |
| 76 |
<groupId>org.codehaus.mojo</groupId> |
| 77 |
<artifactId>build-helper-maven-plugin</artifactId> |
| 78 |
<executions> |
| 79 |
<execution> |
| 80 |
<id>add-slf4j-simple</id> |
| 81 |
<goals> |
| 82 |
<goal>add-source</goal> |
| 83 |
</goals> |
| 84 |
<phase>generate-sources</phase> |
| 85 |
<configuration> |
| 86 |
<sources> |
| 87 |
<source>${project.build.directory}/generated-sources/slf4j-simple</source> |
| 88 |
</sources> |
| 89 |
</configuration> |
| 90 |
</execution> |
| 91 |
</executions> |
| 92 |
</plugin> |
| 93 |
</plugins> |
| 94 |
</build> |
| 95 |
</project> |