Fix for compatibility with Jenkins 1.510 (JENKINS-17165)

I have modified the sources for resolving issue with reflection. I also patched the POM for better compatibility to Eclipse m2e.
Attention: The new system is compatible to Jenkins 1.510 because of the new Parent-POM.