[JENKINS-19910] added support for maven metadata plugin

This pull request adds support for rebuilding projects which uses the maven metadata plugin parameter.

The form includes the same error handling as the original form used by the maven metadata plugin.