TinkerPop Java API language level
<p>I set Intellij Project Settings -> Modules -> Language level to 1.8.</p>

<p>But when I include tinkerpop 3.0.1-incubating in my pom file, the language level will automatically change to 5.0. Then I change it back to 1.8 manually.</p>

<p>When I try to run my program, there is a compile error:
javac: source release 1.8 requires target release 1.8</p>

<p>I really want to use some features like switch(String) which is not available in 5.0.</p>

<p>How can I solve this problem?</p>

<p>Thanks very much.</p>