博客详情

maven中pom.xml配置JDK8编译、运行环境 (原创)

作者: 朝如青丝暮成雪
发布时间:2018-10-24 22:52:22  文章分类:maven   阅读(1708)  评论(0)


pom.xml  中配置一个maven编译插件即可


  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.6.2</version>
    <configuration>
       <target>1.8</target>   
       <source>1.8</source>
       <encoding>utf-8</encoding>
    </configuration>
  </plugin>

关键字:  maven  maven-compiler-plugin
评论信息
暂无评论
发表评论

亲,您还没有登陆,暂不能评论哦! 去 登陆 | 注册

博主信息
   
数据加载中,请稍候...
文章分类
   
数据加载中,请稍候...
阅读排行
 
数据加载中,请稍候...
评论排行
 
数据加载中,请稍候...

Copyright © 叮叮声的奶酪 版权所有
备案号:鄂ICP备17018671号-1

鄂公网安备 42011102000739号