Revert "Fixing test JavaParserResourcesTest after the maven-optional cleanup"

This reverts commit 7f76c845525fce389cd20597b2df21516d41792f.
<optional>false</optional> is no longer being written to pom.xml
Required attributes first
Fixed test name