Adapt SNAPSHOT plugin api example to the 3.1 version

Change-Id: I479545268fa9953f561dea09b682565782ec938b
1 file changed