Accept Oracle JDK licenses.
Get rid of period in restart handler.
Create .m2 directory of Jenkins.