Skip to content

Instantly share code, notes, and snippets.

@kymtwyf
Created October 26, 2015 02:52
Show Gist options
  • Save kymtwyf/69035b2163a854ae97ce to your computer and use it in GitHub Desktop.
Save kymtwyf/69035b2163a854ae97ce to your computer and use it in GitHub Desktop.
intellij Error:java: diamond operator is not supported in -source 1.5 (use -source 7 or higher to enable diamond operator)
<project>
  ...
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.3</version>
          <configuration>
            <!-- put your configurations here -->
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  ...
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment