Adapt SNAPSHOT plugin api example to the 3.1 version

Change-Id: Ib34ca2ba08bf749a358b8f58e9d94849829ae68c
1 file changed