Use Maven plugin annotations, and mark mojo as threadsafe

These changes move from Javadoc-style to Maven plugin annotations, and also mark the mojo as threadsafe to prevent warnings in parallel Maven builds.

These commits also include the change to add an 'encoding' parameter to avoid merge conflicts.