Skip to content

Instantly share code, notes, and snippets.

View bmatthews68's full-sized avatar

Brian Matthews bmatthews68

  • Búraló Technologies
  • Rostov-on-Don, Russia
  • 16:57 (UTC +03:00)
  • X @bmatthews68
View GitHub Profile
<Logger name="org.hibernate" level="INFO"/>
<Logger name="org.hibernate.SQL" level="DEBUG"/>
<Logger name="org.hibernate.type.descriptor.sql" level="TRACE"/>

Keybase proof

I hereby claim:

  • I am bmatthews68 on github.
  • I am bmatthews68 (https://keybase.io/bmatthews68) on keybase.
  • I have a public key ASCZc1D7kStp6rKfl2ENMTULFydvx1NvRuuObbSEZ2TBJQo

To claim this, I am signing this object:

@bmatthews68
bmatthews68 / pom-jetty.xml
Last active June 25, 2020 20:40
How to set system properties for the Jetty and Tomcat 7 Maven Plugins.
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<systemProperties>
<systemProperty>
<name>property.name</name>
<value>property.value</value>
</systemProperty>
</systemProperties>
<plugin>
<groupId>com.btmatthews.maven.plugins</groupId>
<artifactId>ldap-maven-plugin</artifactId>
<version>1.2.0</version>
<executions>
<execution>
<id>dump</id>
<goals>
<goal>dump</goal>
</goals>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>package</id>
<goals>
<goal>single</goal>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<project
xmlns="http://maven.apache.org/DECORATION/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/DECORATION/1.1.0
http://maven.apache.org/xsd/decoration-1.1.0.xsd"
name="...">
<googleAnalyticsAccountId>...</googleAnalyticsAccountId>
/*
Copyright 2013 Brian Matthews
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@bmatthews68
bmatthews68 / pom.xml
Created May 4, 2013 10:44
Testing dependencies
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-core</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.9.5</version>
</dependency>
@bmatthews68
bmatthews68 / archiva-ds.xml
Created April 15, 2013 21:12
Configuration for Archiva on JBoss
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/archiva</jndi-name>
<connection-url>jdbc:mysql://localhost/archiva/connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>archiva</user-name>
<password><!-- Password --></password>
</local-tx-datasource>
</datasources>
@bmatthews68
bmatthews68 / pom.xml
Created September 19, 2012 08:34
Maven Coordinates for CRX Maven Plugin 1.1.1
<plugin>
<groupId>com.btmatthews.maven.plugins</groupId>
<artifactId>crx-maven-plugin</artifactId>
<version>1.1.1</version>
</plugin>