ITeye博客

maven 设置Jdk 版本编译

chzhxu · 2017-06-30 12:59 · maven · 开源软件 · Markdown

pom.xml


      <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>
          <!--<compilerArgs>-->
            <!--<arg>-Xlint:unchecked</arg>-->
            <!--<arg>-Xlint:deprecation </arg>-->
          <!--</compilerArgs>-->
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。