blob: 8fd73c465095dc8c3d1c22da05fb22c977b022ff [file] [log] [blame]
Matthias Andreas Benkard20210242022-01-15 10:39:30 +01001<?xml version="1.0" encoding="UTF-8"?>
Matthias Andreas Benkard80909242022-02-03 20:47:47 +01002
3<!--
4SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
5
6SPDX-License-Identifier: LGPL-3.0-or-later
7-->
8
Matthias Andreas Benkard20210242022-01-15 10:39:30 +01009<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
10 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
11
12 <modelVersion>4.0.0</modelVersion>
13
14 <parent>
15 <groupId>eu.mulk.quarkus-googlecloud-jsonlogging</groupId>
16 <artifactId>quarkus-googlecloud-jsonlogging-parent</artifactId>
Matthias Andreas Benkard949f3342024-08-26 20:12:39 +020017 <version>6.6.1-SNAPSHOT</version>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +010018 </parent>
19
20 <artifactId>quarkus-googlecloud-jsonlogging-core</artifactId>
21 <name>Quarkus Google Cloud JSON Logging Extension - JBoss Logging Core</name>
22
23 <dependencies>
24 <dependency>
25 <groupId>org.jboss.logmanager</groupId>
26 <artifactId>jboss-logmanager-embedded</artifactId>
Matthias Andreas Benkarde957def2023-09-24 21:04:05 +020027 <version>1.1.1</version>
Matthias Andreas Benkardddcce2e2023-09-24 12:57:37 +020028 </dependency>
29 <dependency>
30 <groupId>org.jboss.logmanager</groupId>
31 <artifactId>jboss-logmanager</artifactId>
Renovate Botccb91ed2024-12-05 06:05:21 +000032 <version>3.1.1.Final</version>
Matthias Andreas Benkardddcce2e2023-09-24 12:57:37 +020033 <optional>true</optional>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +010034 </dependency>
35 <dependency>
Matthias Andreas Benkard54e81362024-07-03 06:13:26 +020036 <groupId>jakarta.json</groupId>
37 <artifactId>jakarta.json-api</artifactId>
38 <version>2.1.3</version>
39 </dependency>
40 <dependency>
Matthias Andreas Benkardd72462e2024-07-18 19:34:08 +020041 <groupId>org.jspecify</groupId>
42 <artifactId>jspecify</artifactId>
43 <version>1.0.0</version>
44 </dependency>
45 <dependency>
46 <groupId>io.github.eisop</groupId>
47 <artifactId>checker-qual</artifactId>
48 <version>3.42.0-eisop4</version>
49 <scope>provided</scope>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +010050 </dependency>
Matthias Andreas Benkard54e81362024-07-03 06:13:26 +020051
52 <!-- Include Parsson for backwards-compatibility. -->
Matthias Andreas Benkard20210242022-01-15 10:39:30 +010053 <dependency>
siddik.acilca9b9292023-03-24 09:54:22 +010054 <groupId>org.eclipse.parsson</groupId>
55 <artifactId>parsson</artifactId>
Renovate Botc7f70c22024-07-30 13:03:44 +000056 <version>1.1.7</version>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +010057 </dependency>
Matthias Andreas Benkardb69b3012024-06-23 15:48:49 +020058
59 <dependency>
60 <groupId>org.junit.jupiter</groupId>
61 <artifactId>junit-jupiter-engine</artifactId>
Renovate Bot24a62782024-12-16 14:02:37 +000062 <version>5.11.4</version>
Matthias Andreas Benkardb69b3012024-06-23 15:48:49 +020063 <scope>test</scope>
64 </dependency>
65 <dependency>
66 <groupId>org.junit.jupiter</groupId>
67 <artifactId>junit-jupiter-api</artifactId>
Renovate Bot24a62782024-12-16 14:02:37 +000068 <version>5.11.4</version>
Matthias Andreas Benkardb69b3012024-06-23 15:48:49 +020069 <scope>test</scope>
70 </dependency>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +020071
72 <dependency>
Matthias Andreas Benkard54e81362024-07-03 06:13:26 +020073 <groupId>org.openjdk.jmh</groupId>
74 <artifactId>jmh-core</artifactId>
Renovate Botf93875c2024-07-07 21:07:32 +000075 <version>1.37</version>
Matthias Andreas Benkard54e81362024-07-03 06:13:26 +020076 <scope>test</scope>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +020077 </dependency>
78 <dependency>
Matthias Andreas Benkard54e81362024-07-03 06:13:26 +020079 <groupId>org.openjdk.jmh</groupId>
80 <artifactId>jmh-generator-annprocess</artifactId>
Renovate Botf93875c2024-07-07 21:07:32 +000081 <version>1.37</version>
Matthias Andreas Benkard54e81362024-07-03 06:13:26 +020082 <scope>test</scope>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +020083 </dependency>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +010084 </dependencies>
85
86 <build>
87 <plugins>
88
89 <plugin>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +020090 <artifactId>maven-compiler-plugin</artifactId>
91 <configuration>
Matthias Andreas Benkardd72462e2024-07-18 19:34:08 +020092 <fork>true</fork>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +020093 <annotationProcessorPaths>
94 <path>
95 <groupId>org.openjdk.jmh</groupId>
96 <artifactId>jmh-generator-annprocess</artifactId>
Renovate Botf93875c2024-07-07 21:07:32 +000097 <version>1.37</version>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +020098 </path>
Matthias Andreas Benkardd72462e2024-07-18 19:34:08 +020099 <path>
100 <groupId>io.github.eisop</groupId>
101 <artifactId>checker</artifactId>
102 <version>3.42.0-eisop4</version>
103 </path>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +0200104 </annotationProcessorPaths>
Matthias Andreas Benkardf1995652024-07-20 10:31:24 +0200105 <annotationProcessors>
106 <annotationProcessor>org.checkerframework.checker.nullness.NullnessChecker</annotationProcessor>
107 </annotationProcessors>
Matthias Andreas Benkardd72462e2024-07-18 19:34:08 +0200108 <compilerArgs>
Matthias Andreas Benkardf1995652024-07-20 10:31:24 +0200109 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
110 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
111 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
112 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
113 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
114 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
115 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
116 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
117 <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
Matthias Andreas Benkardd72462e2024-07-18 19:34:08 +0200118 <arg>-Xmaxerrs</arg>
119 <arg>10000</arg>
120 <arg>-Xmaxwarns</arg>
121 <arg>10000</arg>
122 </compilerArgs>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +0200123 </configuration>
Matthias Andreas Benkardd72462e2024-07-18 19:34:08 +0200124 <executions>
125 <execution>
126 <id>default-compile</id>
127 <configuration>
Matthias Andreas Benkardd72462e2024-07-18 19:34:08 +0200128 </configuration>
129 </execution>
130 <execution>
131 <id>default-testCompile</id>
132 <configuration>
133 <annotationProcessors>
134 <annotationProcessor>org.openjdk.jmh.generators.BenchmarkProcessor</annotationProcessor>
135 </annotationProcessors>
136 </configuration>
137 </execution>
138 </executions>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +0200139 </plugin>
140
141 <plugin>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +0100142 <artifactId>maven-jar-plugin</artifactId>
143 <configuration>
144 <archive>
145 <manifestEntries>
146 <Automatic-Module-Name>eu.mulk.quarkus.googlecloud.jsonlogging.core</Automatic-Module-Name>
147 </manifestEntries>
148 </archive>
149 </configuration>
150 </plugin>
151
Matthias Andreas Benkardb69b3012024-06-23 15:48:49 +0200152 <plugin>
153 <artifactId>maven-surefire-plugin</artifactId>
Matthias Andreas Benkardb69b3012024-06-23 15:48:49 +0200154 </plugin>
155
Matthias Andreas Benkard20210242022-01-15 10:39:30 +0100156 </plugins>
157 </build>
158
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +0200159 <profiles>
160
161 <profile>
162 <id>benchmark</id>
163
164 <build>
165 <plugins>
166
167 <plugin>
168 <artifactId>maven-surefire-plugin</artifactId>
169 <configuration>
170 <skipTests>true</skipTests>
171 </configuration>
172 </plugin>
173
174 <plugin>
175 <groupId>org.codehaus.mojo</groupId>
176 <artifactId>exec-maven-plugin</artifactId>
177 <executions>
178 <execution>
179 <id>run-benchmarks</id>
180 <phase>integration-test</phase>
181 <goals>
182 <goal>exec</goal>
183 </goals>
184 <configuration>
185 <classpathScope>test</classpathScope>
186 <executable>java</executable>
187 <arguments>
188 <argument>-classpath</argument>
189 <classpath />
190 <argument>org.openjdk.jmh.Main</argument>
191 <argument>.*</argument>
192 </arguments>
193 </configuration>
194 </execution>
195 </executions>
196 </plugin>
197
198 </plugins>
199 </build>
200 </profile>
201
202 </profiles>
203
Matthias Andreas Benkard20210242022-01-15 10:39:30 +0100204</project>