Audit module dependencies for ones Wicket does not need

Open
#1,862 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
java
Domain
build-system

Research direction

Start by reading the Maven dependency declarations for the listed published and experimental modules, then inspect each module’s resolved dependency tree and effective scopes. Check dependency usage and release dates for the versions in use and the latest releases. Document concrete per-module scope or dependency changes, including effects on applications that rely on transitive dependencies.

Written by the indexing model from the issue text.

Description

dependencies

Audit the dependencies declared by Wicket's modules and determine which ones Wicket does not need.

Every dependency a published module declares with compile scope ends up on the classpath of every application using that module. Over time some of these may have become unused, belong in test scope, could be optional, or are pulled in only for a feature that could live elsewhere.

Scope of the audit:

  • For each published module (wicket-util, wicket-request, wicket-core, wicket-extensions, wicket-ioc, wicket-spring, wicket-cdi, wicket-guice, wicket-velocity, wicket-auth-roles, wicket-jmx, wicket-devutils, wicket-bean-validation, wicket-native-websocket, wicket-tester, wicket-extensions-tester, wicket-migration, experimental modules), list the resolved dependencies with their effective scope.
  • Flag dependencies that are declared but unused, used but undeclared (only arriving transitively), in the wrong scope (test libraries on the compile classpath), or candidates for optional.
  • List the release date of each dependency's version in use and of its latest release, to spot libraries that are abandoned or far behind.
  • Propose concrete changes per module, noting which ones affect applications (a transitive dependency disappearing is a behaviour change for users who relied on it).
Dominant language
Java
Stars
800
Forks
437
Avg merge
21h 36m
Merged PRs (30d)
167

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/wicket

All issues in apache/wicket

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.