Arthur Logo Apache Geronimo Arthur
  • Apache
  • Documentation
  • Community
  • Downloads
  • ASF
    License Sponsorship Thanks
    Security

Arthur SLF4J Knights

Arthur Slf4j knight is responsible to force some SLF4j and SLF4J-JUL class initialization at build time.

Coordinates

<dependency>
  <groupId>org.apache.geronimo.arthur.knights</groupId>
  <artifactId>slf4j-knight</artifactId>
  <version>${arthur.version}</version>
</dependency>

Usage

The slf4j-knight handles some build time initialization to make slf4j-jdk14 working with graalvm compilation.

You must register the slf4j knight in arthur-maven-plugin:

<plugin>
  <groupId>org.apache.geronimo.arthur</groupId>
  <artifactId>arthur-maven-plugin</artifactId>
  <version>${arthur.version}</version>
  <configuration>
    <main>org.company.Main</main>
    <graalExtensions>
      <graalExtension>slf4j</graalExtension>
    </graalExtensions>
  </configuration>
</plugin>

Previous: Knights

Copyright © 1999-2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache Geronimo, Geronimo, Apache, the Apache feather logo, and the Apache Geronimo project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.