jgroups-extras / jgroups-raft

Implementation of the RAFT consensus protocol in JGroups
https://jgroups-extras.github.io/jgroups-raft/
Apache License 2.0
266 stars 84 forks source link

Remove Ant scripts and move to Maven only #243

Closed jabolina closed 10 months ago

jabolina commented 10 months ago

I am opening a PR because of the changes to the action script so it can run before merging.

We have roughly equivalents of the previous tasks.

Use mvn clean compile -Pmanual to generate the manual. This will not run the tests by default. Use mvn surefire-report:report-only to generate the report after running the tests. This uses the surefire-plugin, so the HTML looks different. The other option would be to utilize AntRun and add the jar for the junitreport task.

I also updated the scripts to default to the Maven build, and the GH action script to generate and upload the reports in case of test failures.

Closes #242.

jabolina commented 10 months ago

OK, the action is working. Once we have a test failure, we check if the report generation and upload steps are correct.

belaban commented 10 months ago

At some point it would be nice to have a maven only build of the manual, rather than having to use ant-run.