Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Ant scripts and move to Maven only #243

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

jabolina
Copy link
Member

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 jabolina added this to the 1.0.13 milestone Jan 14, 2024
* We create a dedicated profile to generate the manual. We still rely on
  AntRun plugin; We manipulate the versions here to use on JDK 18+.
* We use the surefire report plugin to replace the reports task;
* Update the CI script to generate the reports and upload;
* Update the scripts to use only the Maven build.
@jabolina
Copy link
Member Author

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

@belaban
Copy link
Member

belaban commented Jan 15, 2024

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

@belaban belaban merged commit 2556b78 into jgroups-extras:master Jan 15, 2024
3 checks passed
@jabolina jabolina deleted the drop-ant branch January 15, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove ant and use only maven
2 participants