refactor(dependencies): remove unused commons-io and commons-collections4 from shenyu-admin
Maintainers usually reply within 2 days
@konlue is already working on this.
Since Oct 14, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- java
- Domain
- build-system
Research direction
Start in shenyu-admin/pom.xml at the commons-io block (around lines 296-298) and the commons-collections4 block (around lines 186-187). Run mvn -pl shenyu-admin dependency:analyze to confirm the unused declarations. Remove commons-io now, and leave commons-collections4 until #7592 and #7593 delete the apidoc viewer. Done when the analyze run reports neither as unused and the build passes.
Written by the indexing model from the issue text.
Description
Summary
Two Apache Commons dependencies declared in shenyu-admin/pom.xml are effectively dead and should be removed.
Evidence
-
commons-io— declared atshenyu-admin/pom.xml:296-298(<version>${commons-io.version}</version>).
git grep org.apache.commons.ioacrossshenyu-admin/(main and test) returns 0 matches → no source usage. -
commons-collections4— declared atshenyu-admin/pom.xml:186-187. The only two files importingorg.apache.commons.collections4are:shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/ApiDocController.javashenyu-admin/src/main/java/org/apache/shenyu/admin/service/manager/impl/DocManagerImpl.java
Both belong to the apidoc viewer that is being removed by #7592 / #7593. Once those land, this dependency has no consumer.
Action
commons-iocan be removed independently now (no source usage) — confirm withmvn -pl shenyu-admin dependency:analyze.commons-collections4removal is gated on #7592/#7593: after the apidoc viewer is deleted, re-runmvn -pl shenyu-admin dependency:analyzeto confirm it becomes an "Unused declared dependency".- Remove the corresponding
<dependency>blocks fromshenyu-admin/pom.xml. - Drop the now-orphaned
<commons-io.version>property if no other module references it (cross-checkgit grep commons-io.version). Keepcommons-collections4in root<dependencyManagement>only if used elsewhere; otherwise drop.
Acceptance
mvn -pl shenyu-admin dependency:analyzereports neither as unused after cleanup.- Build + CI green.
Related
- #7592, #7593 (apidoc removal, gates
commons-collections4) - #7583 (dependency cleanup umbrella)
- Dominant language
- Java
- Stars
- 8.9k
- Forks
- 3.1k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 444
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/shenyu
-
[BUG] ApacheDubboPlugin NPE when DubboRuleHandle is absent/emptyPossibly taken @dengliming claimed this 35 days ago. Openplugin: apache-dubbo priority: medium type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
apache/shenyu#6741 · 1 comment ·
Maintainers usually reply within 2 days
-
[BUG] Boolean tars parameter parsed via Byte.valueOf → NumberFormatExceptionPossibly taken @yangjj-iso claimed this 7 days ago. Openplugin: tars priority: medium type: bug
Difficulty 1/5 Under an hour Newbie friendliness 82/100
apache/shenyu#6736 · 1 comment ·
Maintainers usually reply within 2 days
-
[BUG] AlertReceiverServiceImpl.updateReceiver uses full updateByPrimaryKey, nulling omitted columnsPossibly taken @juicewcode claimed this 46 days ago. Openadmin priority: medium type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
apache/shenyu#6711 · 1 comment ·
Maintainers usually reply within 2 days
-
[BUG] RuleDataRefresh.refresh() NPE on null data / no-op on empty data (HTTP sync)Possibly taken @wy471x claimed this 20 days ago. Opendata-sync: http priority: high type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apache/shenyu#6663 · 1 comment ·
Maintainers usually reply within 2 days
-
[BUG] SelectorDataRefresh.refresh() NPE on null data / no-op on empty data (HTTP sync)Possibly taken @wy471x claimed this 20 days ago. Opendata-sync: http priority: high type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apache/shenyu#6662 · 1 comment ·
Maintainers usually reply within 2 days
Similar issues
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixPossibly taken @ItsDeadlyProgrammer claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
appsmithorg/appsmith#42471 · 1 comment ·
Maintainers usually reply within 2 days
-
code-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
bug priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
carlos-emr/carlos#5258 ·
Maintainers usually reply within 1 day
-
bug: author create/update with an unknown avatarId returns 404 instead of 400 UNKNOWN_REFERENCEPossibly taken @Vinu2111 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
atomityhq/blog-cms#59 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day