blob: 512d231a4e756dc4f74c7063e9885b0447203892 [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 Benkard7fbdb042024-07-05 21:27:36 +020017 <version>6.5.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 Botc8759052024-04-30 21:03:59 +000032 <version>3.0.6.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 Bot516ab6a2024-04-05 14:04:21 +000056 <version>1.1.6</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 Bot78c8eba2024-07-07 20:04:20 +000062 <version>5.10.3</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 Bot78c8eba2024-07-07 20:04:20 +000068 <version>5.10.3</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 Benkardd72462e2024-07-18 19:34:08 +0200105 <compilerArgs>
106 <arg>-Xmaxerrs</arg>
107 <arg>10000</arg>
108 <arg>-Xmaxwarns</arg>
109 <arg>10000</arg>
110 </compilerArgs>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +0200111 </configuration>
Matthias Andreas Benkardd72462e2024-07-18 19:34:08 +0200112 <executions>
113 <execution>
114 <id>default-compile</id>
115 <configuration>
116 <annotationProcessors>
117 <annotationProcessor>org.checkerframework.checker.nullness.NullnessChecker</annotationProcessor>
118 </annotationProcessors>
119 <compilerArgs combine.children="append">
120 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
121 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
122 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
123 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
124 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
125 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
126 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
127 <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
128 <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
129 </compilerArgs>
130 </configuration>
131 </execution>
132 <execution>
133 <id>default-testCompile</id>
134 <configuration>
135 <annotationProcessors>
136 <annotationProcessor>org.openjdk.jmh.generators.BenchmarkProcessor</annotationProcessor>
137 </annotationProcessors>
138 </configuration>
139 </execution>
140 </executions>
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +0200141 </plugin>
142
143 <plugin>
Matthias Andreas Benkard20210242022-01-15 10:39:30 +0100144 <artifactId>maven-jar-plugin</artifactId>
145 <configuration>
146 <archive>
147 <manifestEntries>
148 <Automatic-Module-Name>eu.mulk.quarkus.googlecloud.jsonlogging.core</Automatic-Module-Name>
149 </manifestEntries>
150 </archive>
151 </configuration>
152 </plugin>
153
Matthias Andreas Benkardb69b3012024-06-23 15:48:49 +0200154 <plugin>
155 <artifactId>maven-surefire-plugin</artifactId>
Matthias Andreas Benkardb69b3012024-06-23 15:48:49 +0200156 </plugin>
157
Matthias Andreas Benkard20210242022-01-15 10:39:30 +0100158 </plugins>
159 </build>
160
Matthias Andreas Benkard47df8be2024-06-23 16:24:11 +0200161 <profiles>
162
163 <profile>
164 <id>benchmark</id>
165
166 <build>
167 <plugins>
168
169 <plugin>
170 <artifactId>maven-surefire-plugin</artifactId>
171 <configuration>
172 <skipTests>true</skipTests>
173 </configuration>
174 </plugin>
175
176 <plugin>
177 <groupId>org.codehaus.mojo</groupId>
178 <artifactId>exec-maven-plugin</artifactId>
179 <executions>
180 <execution>
181 <id>run-benchmarks</id>
182 <phase>integration-test</phase>
183 <goals>
184 <goal>exec</goal>
185 </goals>
186 <configuration>
187 <classpathScope>test</classpathScope>
188 <executable>java</executable>
189 <arguments>
190 <argument>-classpath</argument>
191 <classpath />
192 <argument>org.openjdk.jmh.Main</argument>
193 <argument>.*</argument>
194 </arguments>
195 </configuration>
196 </execution>
197 </executions>
198 </plugin>
199
200 </plugins>
201 </build>
202 </profile>
203
204 </profiles>
205
Matthias Andreas Benkard20210242022-01-15 10:39:30 +0100206</project>