搜索profiles

在里面添加配置即可

    <profile>
         <id>jdk-1.8</id>
         <activation>
             <activeByDefault>true</activeByDefault>
             <jdk>1.8</jdk>
         </activation>
         <properties>
             <maven.compiler.source>1.8</maven.compiler.source>
             <maven.compiler.target>1.8</maven.compiler.target>
             <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
         </properties>
    </profile>
Last modification:August 15th, 2020 at 02:03 am
如果觉得我的文章对你有用,请随意赞赏