Adapt SNAPSHOT plugin api example to the 3.1 version

Change-Id: I5a4bb32b3aa8834a6164b37478ff1edcc2ae81ec
1 file changed