lealone / Lealone

比 MySQL 和 MongoDB 快10倍的 OLTP 关系数据库和文档数据库
Other
2.44k stars 513 forks source link

可否方便加个maven插件,来解决mvn clean install导致的问题target\surefire-reports for the individual test results #162

Closed zoujiegogogo closed 1 year ago

zoujiegogogo commented 1 year ago

`

org.apache.maven.plugins
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <testFailureIgnore>true</testFailureIgnore>
                </configuration>
        </plugin>`
codefollower commented 1 year ago

mvn clean install -Dmaven.test.skip=true 会跳过测试,用 maven 打包或安装时最好都跳过测试,跑测试是要花很多时间的。

surefire 插件在 lealone 的 pom.xml 中已经有了,你跳过测试之后就不需要配置那个忽略测试失败的参数了。

codefollower commented 1 year ago

http://lealone.org/ 这是 lealone 的官方文档,里面有介绍怎么从源代码构建 lealone。