xref: /aosp_15_r20/external/slf4j/slf4j-jdk-platform-logging/pom.xml (revision d4cc4a21ff30dee54251e974d02850809c70b030)
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
6  <modelVersion>4.0.0</modelVersion>
7
8  <parent>
9    <artifactId>slf4j-parent</artifactId>
10    <groupId>org.slf4j</groupId>
11    <version>2.0.12</version>
12    <relativePath>../parent/pom.xml</relativePath>
13  </parent>
14
15  <artifactId>slf4j-jdk-platform-logging</artifactId>
16  <packaging>jar</packaging>
17  <name>SLF4J JDK Platform Logging Integration</name>
18  <description>Integrated SLF4J with the Platform Logging API added by JEP 264 in Java 9</description>
19
20  <url>https://www.slf4j.org</url>
21
22  <dependencies>
23    <dependency>
24      <groupId>org.slf4j</groupId>
25      <artifactId>slf4j-api</artifactId>
26    </dependency>
27
28    <dependency>
29      <groupId>org.slf4j</groupId>
30      <artifactId>slf4j-simple</artifactId>
31      <scope>test</scope>
32    </dependency>
33
34  </dependencies>
35
36  <build>
37    <plugins>
38      <!-- target Java 9+ -->
39      <plugin>
40        <groupId>org.apache.maven.plugins</groupId>
41        <artifactId>maven-compiler-plugin</artifactId>
42        <version>${maven-compiler-plugin.version}</version>
43        <executions>
44          <execution>
45            <id>default-compile</id>
46            <goals>
47              <goal>compile</goal>
48            </goals>
49            <configuration>
50              <source>9</source>
51              <target>9</target>
52              <release>9</release>
53            </configuration>
54          </execution>
55          <execution>
56            <id>default-testCompile</id>
57            <goals>
58              <goal>testCompile</goal>
59            </goals>
60            <configuration>
61              <source>9</source>
62              <target>9</target>
63              <release>9</release>
64            </configuration>
65          </execution>
66        </executions>
67      </plugin>
68
69      <plugin>
70        <groupId>org.apache.maven.plugins</groupId>
71        <artifactId>maven-surefire-plugin</artifactId>
72        <version>${maven-surefire-plugin.version}</version>
73        <configuration>
74          <forkCount>1</forkCount>
75          <reuseForks>false</reuseForks>
76          <reportFormat>plain</reportFormat>
77          <trimStackTrace>false</trimStackTrace>
78        </configuration>
79      </plugin>
80
81
82    </plugins>
83  </build>
84
85</project>
86