标签:conf apach idea pid org ide profile 打开 http
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build>
<properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties>
打开IDEA安装目录:IntelliJ IDEA 2019.1.1\plugins\maven\lib\maven3\conf
打开settings.xml文件
在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>
标签:conf apach idea pid org ide profile 打开 http
原文地址:https://www.cnblogs.com/coder-lzh/p/12651302.html