As a plugin developer you can use this plugin as dependency of your plugin by adding a dependency tag to your POM.
To add the latest version of this plugin as a maven dependency, use the following:
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>testng-plugin</artifactId>
<version>981.v1dc64d227855</version>
</dependency>