Maven Project Setting the -source and -target of the Java Compiler

<project>
  [...]
  <properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>
  [...]
</project>

https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

相关文章

前言 此种方式已过时,不再推荐,当下推荐方式:自我救赎 →...
前言 项目中用到了maven,而且用到的内容不像利用maven/ecli...
开心一刻 今天去幼儿园接小侄女,路上聊起了天 小侄女:小叔...
本篇文章和大家了解一下怎么搭建maven私有仓库。有一定的参考...
今天小编给大家分享的是如何解决Maven依赖冲突,相信很多人都...
这篇文章主要介绍了Maven仓库分类的优先级是什么的相关知识,...