Adapt SNAPSHOT plugin api example to the 3.1 version

Change-Id: I9244781436f3ae11aee9ea6a77b5030f5d72b7f7
1 file changed