Adapt SNAPSHOT plugin api example to the 3.1 version

Change-Id: I60049c818b726c6a163bc3656c3642871ef929db
1 file changed