opengrok-indexer seems to set commons-io:commons-io in the wrong scope.
envgap__oracle__opengrok-4471
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
774e4ae2f505a4c2a6765feed7ca2782e44f8075- Manifest
opengrok-indexer/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
oracle/opengrok #4471 · read the original issue
**Describe the bug** Dependency commons-io:commons-io in opengrok-indexer is set to the default dependency scope "compile". However, it seems that it's only used for tests with class org.apache.commons.io.FileUtils. **To Reproduce** It's easy to confirm in latest opengrok-indexer/pom.xml. **Expected behavior** The dependency scope of commons-io should be set to test according to maven's doc on dependency scope. **Additional Context** I change the dependency scope to test and recompile the module. The module is successfully compiled, meaning the dependency is indeed not a compile scope dependency. Considering it's used in tests only, test scope would be the appropriate scope.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]