首页 > 其他 > 详细

12) maven-compiler-plugin

时间:2016-08-02 23:44:20      阅读:257      评论:0      收藏:0      [点我收藏+]

The Compiler Plugin is used to compile the sources of your project. 

At present the default source setting is 1.5 and the default target setting is 1.5, independently of the JDK you run Maven with. 

Change these defaults:

<project>
  [...]
  <build>
    [...]
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.3</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
        </configuration>
      </plugin>
    </plugins>
    [...]
  </build>
  [...]
</project>

 

12) maven-compiler-plugin

原文:http://www.cnblogs.com/zno2/p/4583178.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!