记录下maven的标准

 

 <build>
        <plugins>
            <!-- 设置编译版本为1.8 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
        </plugins>
    </build>

 

相关文章:

  • 2022-12-23
  • 2022-01-09
  • 2021-12-09
  • 2021-08-24
  • 2021-09-27
  • 2022-01-27
  • 2022-12-23
猜你喜欢
  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
  • 2021-04-16
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案