imbajin commented on issue #2114:
URL:
https://github.com/apache/incubator-hugegraph/issues/2114#issuecomment-1453091210
> > 确实是版本的问题,只不过同样的 mvn 版本在 0.12.0 上没有出现这个问题。感谢!
>
> 因为新版重构 / 升级了不少 maven 结构和插件版本,之后可以看看在编译检查那设置一下提醒 / 报错低于 3.5 版本的 maven
升级,也欢迎搜一下提示方案 pr
例如可以加入一下这样的检查, 避免用户无感知
```xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-all</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<DependencyConvergence/>
<requireJavaVersion>
<version>[1.8,12)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.5.0,)</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]