Update ResourcesOptimizerMojo.java

Marked the mojo as thread safe.
Merge pull request #1 from JensDallmann/master

Marked the mojo as thread safe.