Update pom.xml to support compilation under JDK1.9 (#24)

Support jdk1.9
diff --git a/mock-collector/pom.xml b/mock-collector/pom.xml
index 95a36d0..eb4f75e 100644
--- a/mock-collector/pom.xml
+++ b/mock-collector/pom.xml
@@ -187,4 +187,19 @@
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>java9</id>
+            <activation>
+                <jdk>[1.9,]</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.annotation</groupId>
+                    <artifactId>javax.annotation-api</artifactId>
+                    <version>1.3.2</version>
+                </dependency>
+            </dependencies>
+        </profile>
+    </profiles>
 </project>