Component-based Java web framework. master is the 12.x development line. The current release line lives on wicket-11.x and the LTS line on wicket-10.x. Lines that reached end of life are kept under archive/. SECURITY.md says which lines still receive fixes.
Versions — the Java release, the Servlet level, library and plugin versions — are not repeated here, because they go stale and then mislead. Read them from pom.xml.
The code format (tabs, braces on their own line, 100 columns) comes from wicket-eclipse-settings. No plugin in the build applies or checks it, so nothing will catch you getting it wrong: match the file you are editing. Every source file carries the ASF license header — copy it when you add one.
master first and are cherry-picked down the maintenance lines afterwards, as far as the fix still applies. Which lines are in scope is a decision, not an inference — ask.master into it, and correct a pushed commit with a new commit on top. Pull requests are merged with a merge commit, so the commits of a branch you stacked on stay in master and never need dropping.GitHub issue #1576), not the subject. Older issues still live in Jira; a change that resolves one keeps its WICKET-XXXXX key.A full mvn clean verify has to be green before a change is done. Add -Pjs-test for the JavaScript tests; that combination is what CI runs.
Getting there is not how to work there. While iterating, build the least that answers the question: -DskipTests, -Pfast (drops the SLOW-tagged tests, javadoc and sources), -pl <module> -am, -o. Pick whatever is quickest for the task and save the full build for the end.
Most tests are not in the module they exercise, so a targeted run resolves the module you changed from the local repository rather than from your working tree, and you quietly test the last thing you installed. Install first, then run the test:
mvn install -DskipTests -Pfast mvn verify -pl wicket-core-tests -Dtest=ButtonTest
-am builds the dependency from source instead, but it applies -Dtest to every module it pulls in and fails on the first one with no matching test, so it needs -Dsurefire.failIfNoSpecifiedTests=false alongside.
A test class must be named *Test.java. Surefire includes nothing else, so a FooTests or a TestFoo compiles, passes review, and never runs.
.properties, .js and .css sit next to its .java in src/main/java — the pom registers the source directory as a resource directory. The same goes for test pages: their markup belongs next to the test in src/test/java. src/test/resources is not registered at all, so anything put there is off the test classpath.-tests companion where one exists. wicket-core has none of its own; they are all in wicket-core-tests, and wicket-core/src/test/java — which does exist — holds only test resources and the JavaScript tests. Modules that have not been split, wicket-extensions among them, keep their tests in src/test/java. Follow the module you are in.WicketTester, WicketTestCase, FormTester and TagTester are src/main code in wicket-tester, shipped so applications can test against them. A fixture applications would want goes there, not into a test module.validate by the pedantic pom enforcer: dependencies sort by scope, then groupId, then artifactId. dependencyConvergence is on as well. A pom edited in the wrong order fails the build before a single class compiles.<version> for a dependency. Versions are managed in the root pom, each behind a *.version property.master it does not exist yet, so no comparison happens and the plugin only warns.master is allowed but not free: it needs a justification in the commit message, and where the old member can survive next to the new one, deprecate it rather than remove it.wicket-migration/src/main/resources/META-INF/rewrite/wicket.yml where the change is mechanical, and draft the migration-guide wording in the commit message or the pull request description — the guide itself lives on the wiki, where only a human can put it.@since naming the release it first appears in.Application_xx.utf8.properties and their like, around a hundred of them) are translations contributed by native speakers. Add your key to the default bundle and leave the rest alone.SECURITY.md is the policy, and it is long: the scope, the conditions under which a report is not assessed, and a security model stating what Wicket trusts. Read it before concluding that something is or is not a vulnerability. A finding that asks the framework to distrust something the model treats as trusted is a deployment issue rather than a framework one — and if the model itself looks wrong, say so about the model.