← All tasks
javaTheAlgorithms/Java #3321Not a task: already works

Wrong scope in junit-jupiter-api artifact in pom.xml

envgap__TheAlgorithms__Java-3321

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
03a4832a7da6c98b2083e8dda90f0a5d8c8a9a47
Manifest
pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

TheAlgorithms/Java #3321 · read the original issue
**Describe the bug**

The scope of the artifact junit-jupiter-api in pom.xml should be test as it is only used for testing purposes. This misconfiguration is throwing a warning when building the project.



![2022-10-01_16-08-56](https://user-images.githubusercontent.com/64830228/193413564-548a1789-466e-4d4e-8d94-b4349ef271fc.png)



![2022-10-01_16-15-13](https://user-images.githubusercontent.com/64830228/193413716-30a1cf7a-669d-40ce-b757-75e5ad7a6963.png)





Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]