[annotations] Specify javac source and target level to 1.7 in pom.xml

Summary:
Without these properties mvn-based compilation fails due to
not-supporting default 1.5 source/target levels.

Our make-based annotations build already use -source 1.7 and
-target 1.7.

Reviewed By: mityal

Differential Revision: D18037110

fbshipit-source-id: 83d1ed3a5
master
Artem Pianykh 5 years ago committed by Facebook Github Bot
parent 7565c3baa6
commit 3907f0a3f2

@ -8,6 +8,11 @@
<description>Annotations for the Infer static analyzer</description>
<url>http://fbinfer.com/</url>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<licenses>
<license>
<name>MIT license</name>

Loading…
Cancel
Save