| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard <code@mail.matthias.benkard.de> |
| |
| SPDX-License-Identifier: LGPL-3.0-or-later |
| --> |
| |
| <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" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>eu.mulk.quarkus-googlecloud-jsonlogging</groupId> |
| <artifactId>quarkus-googlecloud-jsonlogging-parent</artifactId> |
| <version>6.5.1-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>quarkus-googlecloud-jsonlogging-core</artifactId> |
| <name>Quarkus Google Cloud JSON Logging Extension - JBoss Logging Core</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.jboss.logmanager</groupId> |
| <artifactId>jboss-logmanager-embedded</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.logmanager</groupId> |
| <artifactId>jboss-logmanager</artifactId> |
| <version>3.0.6.Final</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.json</groupId> |
| <artifactId>jakarta.json-api</artifactId> |
| <version>2.1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jspecify</groupId> |
| <artifactId>jspecify</artifactId> |
| <version>1.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>io.github.eisop</groupId> |
| <artifactId>checker-qual</artifactId> |
| <version>3.42.0-eisop4</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Include Parsson for backwards-compatibility. --> |
| <dependency> |
| <groupId>org.eclipse.parsson</groupId> |
| <artifactId>parsson</artifactId> |
| <version>1.1.6</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| <version>5.10.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| <version>5.10.3</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-core</artifactId> |
| <version>1.37</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-generator-annprocess</artifactId> |
| <version>1.37</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <fork>true</fork> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-generator-annprocess</artifactId> |
| <version>1.37</version> |
| </path> |
| <path> |
| <groupId>io.github.eisop</groupId> |
| <artifactId>checker</artifactId> |
| <version>3.42.0-eisop4</version> |
| </path> |
| </annotationProcessorPaths> |
| <compilerArgs> |
| <arg>-Xmaxerrs</arg> |
| <arg>10000</arg> |
| <arg>-Xmaxwarns</arg> |
| <arg>10000</arg> |
| </compilerArgs> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default-compile</id> |
| <configuration> |
| <annotationProcessors> |
| <annotationProcessor>org.checkerframework.checker.nullness.NullnessChecker</annotationProcessor> |
| </annotationProcessors> |
| <compilerArgs combine.children="append"> |
| <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg> |
| <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> |
| <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg> |
| <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg> |
| <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg> |
| <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg> |
| <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg> |
| <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> |
| <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> |
| </compilerArgs> |
| </configuration> |
| </execution> |
| <execution> |
| <id>default-testCompile</id> |
| <configuration> |
| <annotationProcessors> |
| <annotationProcessor>org.openjdk.jmh.generators.BenchmarkProcessor</annotationProcessor> |
| </annotationProcessors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Automatic-Module-Name>eu.mulk.quarkus.googlecloud.jsonlogging.core</Automatic-Module-Name> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <profiles> |
| |
| <profile> |
| <id>benchmark</id> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <skipTests>true</skipTests> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>run-benchmarks</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <classpathScope>test</classpathScope> |
| <executable>java</executable> |
| <arguments> |
| <argument>-classpath</argument> |
| <classpath /> |
| <argument>org.openjdk.jmh.Main</argument> |
| <argument>.*</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| </profile> |
| |
| </profiles> |
| |
| </project> |