[FIXED JENKINS-21816] Support rebuild-plugin

add note to pom.xml

renamed package.
[JENKINS-21816] Added tests for rebuild-plugin support.