Adding org.jenkins-ci.plugins.credentials pom.xml dependency breaks my plugin


I’m developing a new plugin with HelloWorld as starter. Initially, it worked fine. “Say Hello World” appears in the “Build actions” dropdown of the job.

Then I added org.jenkins-ci.plugins.credentials dependency and re-run the project, “Say Hello World” doesn’t appear anymore. I don’t get any errors either. No code changes or anything. Just added dependency in pom.xml


Its going to give you an error somewhere. Try looking at your manage plugins page. Your startup log. Maven compile logs.

worst case, mvn clean, delete target/ (maven compile files) and work/ (hpi:run jenkins files) and startup again