Adapt SNAPSHOT plugin api example to the 3.1 version

Change-Id: I4073cc91cea303ad43d9f0aad50385f079eb7666
1 file changed