maven编译项目时报警告
Some problems were encountered while building the effective model for com.ruoyi:ruoyi-auth:jar:3.6.3
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.ruoyi:ruoyi:3.6.3, D:\workspace\bikan\jishi_service\pom.xml, line 252, column 21
Some problems were encountered while building the effective model for com.ruoyi:ruoyi-gateway:jar:3.6.3
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.ruoyi:ruoyi:3.6.3, D:\workspace\bikan\jishi_service\pom.xml, line 252, column 21
Some problems were encountered while building the effective model for com.ruoyi:ruoyi-visual-monitor:jar:3.6.3
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.ruoyi:ruoyi:3.6.3, D:\workspace\bikan\jishi_service\pom.xml, line 252, column 21
Some problems were encountered while building the effective model for com.ruoyi:ruoyi-visual:pom:3.6.3
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.ruoyi:ruoyi:3.6.3, D:\workspace\bikan\jishi_service\pom.xml, line 252, column 21
Some problems were encountered while building the effective model for com.ruoyi:ruoyi-modules-system:jar:3.6.3
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.ruoyi:ruoyi:3.6.3, D:\workspace\bikan\jishi_service\pom.xml, line 252, column 21
没有设置 maven-compiler-plugin
版本
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
</plugins>
注意:本文归作者所有,未经作者允许,不得转载