As a plugin developer you can use this plugin as dependency of your plugin by adding a dependency tag to your POM.
To avoid version conflicts it is suggested not to depend on a specific version, but use the Jenkins plugin BOM and the following dependency snippet:
<dependency> <groupId>org.jenkins-ci.plugins.pipeline-stage-view</groupId> <artifactId>pipeline-rest-api</artifactId> </dependency>