Brian’s Stuff

Stuff I don’t want to forget (again!)

Tag archive for ‘tdd’

Testing @Configurable using the Maven Surefire plugin

I am using the @Configurable annotation to inject dependencies using AspectJ load time weaving and I still want to be able to unit test my code using the Maven Surefire plugin. The following plugin configuration ensures the spring-agent dependency downloaded to my local Maven repository and configures the command line for the JVM. <plugin> <groupId>org.apache.maven.plugins</groupId> [...]

LDAP Maven Plugin 1.0 Released

The LDAP Maven Plugin is a plugin for the Maven 2 build automation tools that allows LDIF data to be uploaded to a LDAP directory server in preparation for test case execution. The plugin also provides goals to download the contents of the repository in either LDIF or DSML format for verification after test cases [...]

Switching to SLF4J

After years of fanatical devotion I have decided to cast aside Jakarta Commons Logging (JCL) in favour of Simple Logging Facade for Java (SLF4J).