Brian’s Stuff

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

Tag archive for ‘surefire’

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> [...]