|This page documents a MediaWiki development guideline, crafted over time by developer consensus (or sometimes by proclamation from a lead developer)|
MediaWiki Java code follows the Google Java Style. A Checkstyle configuration file is used for verification by the Maven Checkstyle Plugin. This file is bundled in the discovery-maven-tool-configs project and can be used as a dependency as shown in the discovery-parent-pom project.
Various other conventions are embodied in the plugin configurations found in the discovery-parent-pom project. You can use that parent pom directly, or pick the pieces which makes the most sense for a specific project.