Adapt SNAPSHOT plugin api example to the 3.1 version

Change-Id: I9890f56497cbe49e3e5249e3a1550e4545d30ec8
1 file changed