Currently testing the Maven JMeter Plugin developed by Ron Alleva. Did some testing, but quite soon got an error like the one mentioned in the comments of his post

2010/01/19 16:42:45 ERROR – jmeter.JMeter: java.lang.NullPointerException
at org.apache.jmeter.gui.tree.JMeterTreeModel.
addSubTree(JMeterTreeModel.java:91)

A bit of struggle to actually find it, since I’m new both to Maven and diving into Open Source-code, but after I had a quick look into the code of both the actual plugin and JMeter itself it came clear that the problem was ClassNotFoundException related to Apache Commons LogFactory. With great help from Kaja I just added the following code to the POM-file


<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>

Updated my repository and voila, test running…