Quick revision
The short answer
Split the monolithic parent by job: a BOM for versions, a small parent for build conventions, and optional plugins or extensions for specialised needs. Release them on a regular cadence with semantic versioning, release notes and automated upgrade pull requests, and test every change against a canary set of real builds before release. Give it an owner team with a support process and a policy for how far behind services may fall, and keep evaluating the build tool itself on measured build times and maintenance cost.
What to remember
In this answer, we turned a risky corporate parent into a maintained product. We split it into a platform BOM for versions, a small parent for conventions and optional extensions for special needs, released them on a cadence with semantic versioning, release notes and bot-driven upgrades, and tested every change against a canary set of real builds. An owner team, a support process and a lag policy keep services current, and the build tool itself is evaluated on measured cost, not preference.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
Split the monolithic parent by job: a BOM for versions, a small parent for build conventions, and optional plugins or extensions for specialised needs. Release them on a regular cadence with semantic versioning, release notes and automated upgrade pull requests, and test every change against a canary set of real builds before release. Give it an owner team with a support process and a policy for how far behind services may fall, and keep evaluating the build tool itself on measured build times and maintenance cost.
Background to this question
When 1,200 builds inherit one POM, that POM is effectively production infrastructure. A careless change can break hundreds of builds in an afternoon, so people stop changing it, and then it falls behind and becomes a different kind of risk. A leadership question like this one is about turning a fragile shared file into a product with an owner, a release process and a way to evolve. In this answer, we will see why the single parent became risky, split it into parts with separate jobs, set up a release process with canary testing, define ownership and support, and plan how to keep the standards and the tool itself current for a decade.
1Why One Big Parent Becomes Risky
A corporate parent usually starts small and useful: a few plugin versions and a repository setting. Over years, it collects everything: dependency versions, Enforcer rules, code quality plugins, packaging for three deployment styles, and profiles for teams that left long ago. Every one of the 1,200 builds gets all of it.
Two problems follow. Changes have a huge blast radius, because a new version of any plugin or dependency in the parent reaches every build at the next bump. And different kinds of change are tied together: a team that only needs a Jackson security fix must also take a new Checkstyle configuration that fails their build. So teams pin old parent versions, the platform team hesitates to release, and the parent slows everything it touches.
2Split the Parent by Job
The first move is structural. We separate the parent into pieces that change for different reasons and at different speeds. A platform BOM holds dependency versions: it imports Spring Boot's BOM and adds internal libraries and approved third-party versions. It changes often, usually for security updates, and teams want those changes quickly. A small parent holds build conventions: compiler release, core plugin versions, Enforcer rules, release and deployment configuration. It changes less often and with more care. Optional plugins or Maven extensions handle specialised needs, such as a code generator for one family of services or a packaging step for one deployment platform. Only builds that need them include them.
The reason this helps is that each piece now has a smaller blast radius and a clearer purpose. A security fix becomes a BOM release that nobody fears. A change to conventions becomes a parent release that we test carefully. And a team's special need no longer lives in a file 1,200 builds inherit.
- Service POMonly what is specific to this service
- Optional plugins and extensionsspecialised needs, opted into
- Small corporate parentcompiler, core plugins, Enforcer, release setup
- Platform BOMversions: Spring Boot BOM plus company and approved libraries
4 layers, from the top down. Step through them one at a time.
Each layer has its own version and release cadence.
3Release Like a Product
The parent and the BOM get regular releases, for example a BOM release every two weeks and a parent release monthly, plus out-of-band releases for urgent security fixes. They use semantic versioning so teams can tell what to expect: a patch release changes only versions in a safe way, a minor release may add rules as warnings, and a major release may make warnings into errors or remove things, with release notes that say exactly what to do.
Upgrades should cost teams almost nothing. An update bot such as Renovate or Dependabot opens the version bump in every repository as soon as a release appears, and the service's own CI tests it. Most bumps are merged automatically or with a quick review. The platform team can then see, per repository, which version is in use.
4Test Changes Against Real Builds Before Release
The most important safety net is a canary set: a list of real projects, for example 30 to 50 builds, chosen to cover the main patterns, such as heavy code generation, many modules, old and new Spring Boot lines and unusual plugins. Every proposed parent or BOM change is built against the canary set before release.
- Change proposed to the parent or BOMwith a reason and expected impact
- Build the canary set with a release candidateabout 40 real builds
- Unexpected failures?YesFix or drop the changeNoWrite release notes
- Release with semantic versionpatch, minor or major
- Bot opens upgrade pull requeststrack adoption per repository
5 steps in order. Play them, or step through them one at a time.
Notice that the two failures mean different things. One is an intended change that the release notes must explain; the other is an unintended break that must be fixed before release. Without the canary set, both would have been discovered by 1,200 teams at once.
5Ownership, Support and Allowed Lag
A parent that everybody uses but nobody owns is the root of the original problem. So we name an owner team, usually the platform or developer experience team, with a published way to ask for changes, a support channel, and a review process where other teams can propose changes and see them discussed.
We also set a policy for how far behind services may fall, for example no more than two minor versions of the parent, and no more than seven days behind a BOM release that contains a critical security fix. The bot makes staying current cheap, and a dashboard shows lag per team. Exceptions are allowed with a reason and an expiry date, so a team with a real blocker is not forced into a broken upgrade.
6Evolving the Standards and the Tool for a Decade
Over ten years, the standards will change many times and so might the build tool. Maven 4 brings a new build POM model and better reactor behaviour; Gradle offers different trade-offs in performance and flexibility. The question is not which tool we like but which one costs us less. So we measure: build times across the fleet, time spent by the platform team maintaining the standards, the number of build failures caused by build tooling, and onboarding time for new engineers.
If those numbers suggest a change, we trial it on a few volunteer services, compare against the measurements, and only then decide. A change of build tool for 1,200 builds is a multi-year programme, and it should be justified by numbers, not preference.
7Follow-up questions
How do you introduce a stricter rule without breaking hundreds of builds?
We add it first as a warning in a minor release, publish which builds would fail using the canary set and a fleet scan, give teams time to fix, and make it an error in a later major release. Teams that are not ready keep the previous major version until their deadline, under the lag policy.
What if a team needs a plugin the parent does not provide?
They add it in their own POM, and if several teams need the same thing, it becomes an optional extension or a pluginManagement entry in the parent. The parent should provide what most builds need, not every possible plugin, so growth is a deliberate decision rather than accumulation.
How do you choose the canary set?
From the fleet inventory: we pick projects that cover the main patterns, the oldest and newest Spring Boot lines, the unusual plugins, the largest multi-module builds and a few frozen services. We review the set every few months, and when a release breaks a build that was not in the canary set, that build is a candidate to add.
8Conclusion
In this answer, we turned a risky corporate parent into a maintained product. We split it into a platform BOM for versions, a small parent for conventions and optional extensions for special needs, released them on a cadence with semantic versioning, release notes and bot-driven upgrades, and tested every change against a canary set of real builds. An owner team, a support process and a lag policy keep services current, and the build tool itself is evaluated on measured cost, not preference.
Open with
The first thing I would change is structure, because one parent doing everything means every change has a huge blast radius. I would split it into a platform BOM for versions, importing Spring Boot's BOM and adding our libraries, a small parent for build conventions like the compiler release, core plugins, Enforcer rules and release setup, and optional plugins or extensions for specialised needs that only some builds include.
Then, if they want more
Then I would release them like a product: a regular cadence, semantic versioning so teams know what a patch or major release means, clear release notes, and Renovate or Dependabot opening the upgrade pull requests in every repository.
Before any release, I would build a canary set of maybe 40 representative real projects with the release candidate, so unexpected failures are found by us, not by 1,200 teams.
I would make one team clearly the owner, with a support channel and a way for others to propose changes, and set a policy for how far behind services may be, with shorter deadlines for security fixes and expiring exceptions for real blockers. Stricter rules come in as warnings first and errors in a later major release.
And over a decade, I would keep evaluating the tool itself, Maven 4 or Gradle, by measuring build times, maintenance effort and build failures, and trialling any change on a few services before deciding.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Apache Maven guides
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Your company has a corporate parent POM that 1,200 builds inherit, and every change to...": https://scrivio-interview-library.netlify.app/java/maven/37aed3d64c/