I was looking to package a snapshot from github to take advantage of the new downloadOptionalDependencies flag, but building from source using mvn package fails on my Windows instance for the following tests:
resultsFileContainsDirectoryStructureInName(com.lazerycode.jmeter.configuration.JMeterArgumentsArrayTest) Time elapsed: 0.001 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "-d target/jmeter/ -l temp/subdir_test.jtl -n -t C:\perftest\jmeter-maven-plugin\target\test-classes\tests\subdir\test.jmx"
but: was "-d target/jmeter/ -l temp\subdir/test.jtl -n -t C:\perftest\jmeter-maven-plugin\target\test-classes\tests\subdir\test.jmx"
and
createConfigFromInputStream(com.lazerycode.jmeter.json.TestConfigTest) Time elapsed: 0.012 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "{\n \"resultFilesLocations\" : [],\n \"resultsOutputIsCSVFormat\" : false,\n \"someOtherElement\": \"foo\"\n}"
but: was "{\r\n \"resultFilesLocations\" : [],\r\n \"resultsOutputIsCSVFormat\" : false,\r\n \"someOtherElement\": \"foo\"\r\n}"
Looks like it's failing on the actual outputs path structure with \ and the \r\n, assuming you're building on OSX/Linux?
I've raised this as https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/issues/219, proposed fix incoming