added java.awt.headless for surefire maven plugin
(cherry picked from commit b52d09744fe58a41a696bf02c2265ff104072d0d)