Adapt SNAPSHOT plugin api example to the 3.1 version

Change-Id: I1ea9803de9d6565c9f40d2bf19006bf33f02d17f
1 file changed