码迷,mamicode.com
首页 > 其他好文 > 详细

maven - 配置指定1.8jdk

时间:2019-11-02 11:38:45      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:plugin   tar   maven   org   compile   pac   config   pom   source   

maven - 配置指定1.8 jdk

pom.xml文件中添加以下属性指定:

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

 

maven - 配置指定1.8jdk

标签:plugin   tar   maven   org   compile   pac   config   pom   source   

原文地址:https://www.cnblogs.com/timfruit/p/11781004.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!