Maven默认编译器符合性级别 [英] Maven default compiler compliance level

查看:277
本文介绍了Maven默认编译器符合性级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你知道如何找到默认的编译器符合性级别,我的Maven安装使用maven-compiler-plugin中没有定义什么。

Do you know how I can find out the default compiler compliance level that my Maven installation uses when nothing is defined in the maven-compiler-plugin?

推荐答案

根据Maven文档,默认源设置为1.5,默认目标设置为1.5。请参见默认合规性合规性级别

According to Maven docs, "The default source setting is 1.5 and the default target setting is 1.5". See Default complier compliance level

这篇关于Maven默认编译器符合性级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆