Skip to content

Instantly share code, notes, and snippets.

View t1's full-sized avatar

Rüdiger zu Dohna t1

View GitHub Profile
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<includes>
<include>**/*IT.java</include>
</includes>
</configuration>
<executions>
@t1
t1 / wildfly:maven:glow
Last active April 26, 2024 12:50
wildfly-maven-plugin with glow setup for ITs
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>5.0.0.Final</version>
<configuration>
<discover-provisioning-info>
<suggest>true</suggest>
</discover-provisioning-info>
<debug>true</debug>
<bootable-jar>true</bootable-jar>
# suppress inspection "UnusedProperty" for whole file
mp.graphql.allowGet = true
mp.graphql.showErrorMessage = java.lang.RuntimeException
smallrye.graphql.unwrapExceptions = \
java.lang.RuntimeException,\
java.lang.IllegalStateException,\
java.util.concurrent.CompletionException,\
jakarta.ejb.EJBException,\
jakarta.ejb.EJBTransactionRolledbackException
@t1
t1 / wildfly-maven-plugin
Last active May 25, 2023 04:20
wildfly-maven-plugin configured to include GraphQL feature pack
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>4.1.0.Final</version>
<configuration>
<feature-packs>
<feature-pack>
<location>wildfly@maven(org.jboss.universe:community-universe):current#28.0.1.Final</location>
</feature-pack>
<feature-pack>
@t1
t1 / application.properties
Created March 30, 2023 15:04
standard quarkus graphql settings
quarkus.smallrye-graphql.show-runtime-exception-message = java.lang.RuntimeException
quarkus.smallrye-graphql.error-extension-fields = [exception,classification,code,description,validationErrorType,queryPath]
quarkus.hibernate-orm.database.generation = update
quarkus.datasource.devservices.port = 5432
# see https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
@t1
t1 / maven.yml
Created December 21, 2022 11:41
GitHub Action
name: Java CI
on:
push:
schedule: [ cron: '42 0 * * 5' ] # weekly: At 00:42 on Friday
jobs:
build:
strategy:
matrix:
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n</pattern>
</encoder>
</appender>
<root level="debug">
<appender-ref ref="STDOUT"/>
</root>
@t1
t1 / beans.xml
Last active May 23, 2023 04:29
Empty beans.xml 3.0
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
bean-discovery-mode="all">
</beans>

Keybase proof

I hereby claim:

  • I am t1 on github.
  • I am rdohna (https://keybase.io/rdohna) on keybase.
  • I have a public key ASBnwAnc1t-QLhMzVD48dANE6351IcGLd4K-oe5LfyupPwo

To claim this, I am signing this object: