[JENKINS-64002] Fix optional dependencies to other Jenkins plugins (#292)
[JENKINS-64002] Fix optional dependencies to other Jenkins plugins (#292)

* Add credentials plugin dependency

* Add exclusions in other dependencies to get compilation failure in such case
warden/jira-plugin,warden/jira-plugin