use last surefire plugin version 2.12.4
maven-resources-plugin -> 2.6
fix unit test
[FIXED JENKINS-13536] Using file parameters could cause build records to not load.
Solves the issue for newly created builds by not attempting to persist the original file upload record, which is useless after the build has run (the fileParameters dir in the build already archives them).
Does not help loading pre-fix builds in which the upload temp file has been deleted; for these, you must manually delete <file class="org.apache.commons.fileupload.disk.DiskFileItem" serialization="custom">…</file> from the build.xml.
(Did not find a straightforward way to just instruct XStream to ignore this bit of XML: it is easy to avoid serializing a field, but deserializing is different.)
Allow gc to remove test results from memory as these can consume a lot of memory
cleanup some minor display issues
use existing displayName
Fix escaping on builds' REST API page

The "Accessing Progressive Console Output" section of builds' REST API
page is displayed incorrectly.  It should contain "&lt;pre>", but the
"&lt;" is replaced by a less-than sign.  This causes a <pre> tag to be
applied to the rest of the section.  Change the & to &amp; to prevent
this.
Merge pull request #637 from vjuranek/surefire_gc

Allow gc to remove test results from memory as these can consume a lot o...
Revert 4440e0f420242364975265f6db5c27bee13de4e3

It breaks some already fixed issues like JENKINS-1557
Allow gc to remove test results from memory in more proper way
Merge pull request #638 from kraai/master

Fix escaping on builds' REST API page
Merge pull request #639 from vjuranek/surefire_gc

 Allow gc to remove test results from memory in more proper way
fix persisting of formatter
add new EP GlobalSecurityConfigurationPart to enable contributions to the global security configuration page
move config for 'Prevent Cross Site Request Forgery exploits' to new global security configuration page
Diagnosis of an NPE probably caused by a transient slave connection error.
java.lang.NullPointerException
	at hudson.tasks.CommandInterpreter.createScriptFile(CommandInterpreter.java:104)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
	at com.cloudbees.hudson.plugins.modeling.impl.builder.BuilderImpl.perform(BuilderImpl.java:58)
	at hudson.plugins.m2extrasteps.M2ExtraStepsWrapper.executeBuildSteps(M2ExtraStepsWrapper.java:166)
	at hudson.plugins.m2extrasteps.M2ExtraStepsWrapper.access$200(M2ExtraStepsWrapper.java:43)
	at hudson.plugins.m2extrasteps.M2ExtraStepsWrapper$1.tearDown(M2ExtraStepsWrapper.java:137)
	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:817)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:490)
	at hudson.model.Run.run(Run.java:1442)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:239)
@since
Noting some places where Item.DISCOVER probably needs to be checked.
Introduced MockFolder for testing.