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

Java tests are not picked up when using maven 3.9.5 #15

Open
forus opened this issue Mar 1, 2024 · 2 comments
Open

Java tests are not picked up when using maven 3.9.5 #15

forus opened this issue Mar 1, 2024 · 2 comments

Comments

@forus
Copy link
Contributor

forus commented Mar 1, 2024

The tests are run with Maven 3.8.3.

However, with Maven 3.9.5 (and maybe later?) tests are not discovered properly:

[INFO] --- surefire:3.1.2:test (default-test) @ core ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
@forus
Copy link
Contributor Author

forus commented Mar 1, 2024

The issue could be related to the surefire plugin version:

Apache Maven 3.9.5 -> surefire:3.1.2:test
Apache Maven 3.8.3 -> surefire-plugin:2.12.4

@JREastonMarks
Copy link
Contributor

I updated the build so it runs the tests.

I am not super into investing a lot of time into this since we will probably depreciate this sometime in the future.

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

No branches or pull requests

2 participants