The plugin can be configured to archive failed test results. The entire target/test/results directory will be compressed into a zip file in the target directory with the name artifactId-test-results.zip. To enable this feature, run maven with the following flag:
mvn test -Dbaselinetest.archiveOnFail=true
or in your pom.xml configure as follows:
<project>
...
<build>
<plugins>
<plugin>
<groupId>net.sf.baselinetest</groupId>
<artifactId>baselinetest-maven-plugin</artifactId>
<version>1.5.1</version>
<configuration>
<archiveOnFail>true</archiveOnFail>
...
</configuration>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>