eclipse maven插件配置,jdk全局版本调整
settings.xml
</profiles>标签前追加:
<profile>
<id>jdk-1.7</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.7</jdk>
</activation>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
<maven.compiler.encoding>utf-8</maven.compiler.encoding>
</properties>
</profile>
posted on 2018-11-25 16:19 CreatorKou 阅读(123) 评论(0) 编辑 收藏 举报