nebula-algorithm打包时插件版本号缺失

  • nebula 版本:3.1.0
  • nebula algorithm 版本:3.0.0
  • 环境:JDK 1.8.0, scala 2.11.12,spark 2.4.8
  • 部署方式:单机
  • 安装方式:RPM
  • 问题描述:从github将nebula-algorithm克隆过来之后,使用maven进行编译时,报以下的插件版本说明缺失警告:
[WARNING] Some problems were encountered while building the effective model for com.vesoft:nebula-algorithm:jar:3.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 244, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 152, column 25
[WARNING] 'build.plugins.plugin.version' for net.alchim31.maven:scala-maven-plugin is missing. @ line 172, column 25
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

请问,org.apache.maven.plugins:maven-compiler-plugin,org.apache.maven.plugins:maven-surefire-plugin,net.alchim31.maven:scala-maven-plugin这三个插件对应的版本号应该是多少?

与maven的版本有关系吧。你的maven版本是多少?

3.0.5,我在其他帖子中看到说一般是3.6.0以上的版本会出现这类问题

我试了下 maven 3.0.5确实编译不了。
你到maven官网下个最新的3.8.6 ,这个版本我试过了没问题。

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。