How to migrate a midPoint overlay from WAR to JAR packaging
A team with a WAR-based overlay on an older midPoint should plan the move to the JAR-based overlay introduced in midPoint 4.6 as a build and verification exercise, not a rewrite. The effort depends mostly on how much of the overlay is Java code, how much is configuration, and how much is web resource such as GUI files. Before estimating anything, confirm the target midPoint version, because the target determines which Java runtime the build uses and which upgrade steps come before the packaging change. Inventory each overlay component first: Java classes, schema extensions and configuration files, and web resources. Each one needs a clear home in the new layout and a test that shows it still behaves the same.
The output of the migration is a new midpoint.jar built from the overlay project, with configuration files, web resources and any Java code added to it. The build changes are where most of the work sits. Move the overlay's Maven configuration to the structure described in the Evolveum overlay project documentation, then build against the exact midPoint version you will run in production. Expect to rework dependency declarations, resource locations and any custom startup or packaging steps that assumed a WAR archive. Keep the old WAR build available until the new JAR has passed your test cycle, so you can compare outputs side by side.
Plan the verification in the same way you would plan a version upgrade. Test each customization against a copy of your production data, check that web pages, custom expressions and scheduled tasks load, and confirm the application starts cleanly on the production Java version. Signature status also changes: overlay builds cannot carry Evolveum's signature, so add an overlay-info.txt file so the About page shows your overlay message rather than an unofficial build warning. Ask your security team how they will verify provenance of the build artifact, since they will need to explain the change to reviewers. Record the build inputs, the midPoint version and the test results so the next upgrade starts from documented evidence.
Which overlay parts map cleanly to the JAR layout
This table compares each part of a WAR-based overlay with its place in the JAR-based overlay introduced in midPoint 4.6, and flags which items can be copied and which need a rebuild and retest. Read each row against your own project tree, and confirm exact file locations in the overlay project documentation before moving anything.
| Overlay element | Equivalent in the JAR overlay | Migration notes |
|---|---|---|
| Configuration files | Packaged inside the generated midpoint.jar as part of the overlay output | Copy only files you changed from the stock configuration. Confirm the exact resource paths in the overlay project docs, then rebuild and retest each file. |
| Web resources (static assets, templates, GUI files) | Included in midpoint.jar alongside the configuration files | Check that paths still resolve after the move. Browser caching and cached GUI resources can hide errors, so retest the admin GUI after deployment. |
| Java code (custom classes, handlers, extensions) | Compiled into midpoint.jar as part of the overlay build | Java code must be recompiled against the midPoint version you target. Do not copy compiled WAR classes across. Rebuild and run your test suite. |
| Custom build configuration (Maven POM and overlay settings) | Maven overlay project now produces midpoint.jar instead of a WAR | Update packaging and plugin settings that assumed WAR output. Review dependency versions against the target release before the first build. |
| Packaging assumptions (servlet container layout, WEB-INF paths) | No WEB-INF structure; the application runs from the JAR | Remove any startup scripts, deployment descriptors or paths that expect an exploded WAR. Treat this as a rewrite, not a copy. |
| Overlay build identity (About page label) | Overlay builds cannot carry Evolveum's signature | Add an overlay-info.txt file so the About page shows your overlay message instead of Unofficial build. Confirm the file format in the signature status documentation. |
| Upgrade path for existing customizations | Each midPoint upgrade needs a fresh overlay build against the new release | Plan the rebuild and full retest as part of each upgrade, not as a one-time migration. Keep the overlay project under version control. |
The overlay build turns your sources into one midpoint.jar
The diagram starts with your overlay project sources: configuration files, web resources and any Java code you have added. The Maven overlay build packages these into a single midpoint.jar, which is the artifact you deploy. Because overlay builds cannot carry Evolveum's signature, the build should also include an overlay-info.txt file, shown as a branch that replaces the Unofficial build label on the About page. Check that the About page reads your overlay message after each deployment.
Overlay sources pass through the Maven build to midpoint.jar and the About page label.
Migrating midPoint overlay code to the JAR layout: what changes
The main change for an overlay team is the artifact. Before midPoint 4.6, an overlay project produced a WAR file that was deployed into a servlet container. From 4.6 onward, the overlay produces a single midpoint.jar that contains the configuration files, web resources and Java code your project adds on top of the base distribution. Your Java classes move into that artifact, so the deployment target changes from a WAR file to the JAR, and the packaging step in your pipeline has to produce and publish that file instead. What stays the same is the overlay idea itself: your customizations still sit in a separate project that tracks the upstream midPoint release, rather than in a fork of the core source.
Do not carry the old build over by editing the WAR configuration and hoping for the best. The exact Maven build configuration, the module layout and the locations of configuration and web resources must be taken from the overlay project documentation for your target release, then compared line by line with your current overlay. Confirm which plugins, packaging type and output names the documentation specifies, and record every deviation your team has made, because each one will need a decision during the move. Ask whether any of your custom code depends on classes or resource paths that moved between the WAR and JAR layouts, since those failures often surface only at startup. Run the new build against a non-production environment before anything else changes.
Documented sources and checks for the overlay move
The overlay move rests on two Evolveum documents: one for the build and one for signature status. Each card below pairs a documented source with a check your team runs in its own build and running system before the upgrade is considered complete.
Overlay project documentation
The Evolveum overlay project page describes how a midPoint overlay now builds a single midpoint.jar that carries configuration files, web resources and any added Java code. Use it as the reference for the Maven layout your customizations must follow after the move. Confirm that your project's build file, dependency versions and output name match what the current documentation describes for the midPoint version you target.
Overlay project docsJAR signature status documentation
This page explains why an overlay build cannot carry Evolveum's signature and how the About page reports that status. Read it before you decide how your build will be labeled in production. Confirm with your own build output that the JAR is unsigned as expected, and that no team member assumes the official signature still applies after your changes.
Signature status docsOverlay message file
Add an overlay-info.txt file to the overlay so the About page shows your overlay message instead of the default Unofficial build label. The text should identify your organization, the overlay version and the base midPoint version. Confirm that the file is packaged inside the JAR you deploy, because a file left out of the build will not appear on the About page.
Build logs as evidence
Keep the full build log from each overlay build with the artifact checksum and the commit it came from. The log shows whether the JAR was produced as expected and which configuration and code files were included. Confirm that the log lists the same midPoint version you intend to run, and store it with the change record so an auditor or reviewer can trace the deployed artifact.
Running About page check
After deployment, open the About page on a non-production node and compare the version, the build label and the overlay message with what the build log recorded. A mismatch usually means an old artifact was deployed or the overlay file was not packaged. Confirm the check on every environment, including the environments that run behind a load balancer, since each node must report the same build.
Upgrade regression testing
Repeat your functional tests for connectors, mappings, object templates and custom code on the new JAR before any production change. Packaging changes can move files and hide errors that only appear at runtime. Confirm with the test owners which customizations each test covers, and record any test that cannot run against the new build so the gap is visible before cutover.
Migration sequence for a midPoint overlay project
The sequence moves a WAR-based overlay onto the JAR layout introduced in midPoint 4.6 without changing behavior for users. Each step leaves a checkable output, so the cutover decision rests on evidence rather than a single successful build.
Inventory the current WAR overlay
Someone who knows the overlay's build, not only its runtime, lists everything it contributes: Java code, configuration files, web resources such as templates and static assets, and the build plugins and profiles that assemble the WAR. Record the midPoint version it targets and the customer-specific settings it carries. The output is a written inventory that maps each item to its future location in the JAR layout, plus a list of anything that cannot move cleanly. Review the inventory with the developers who wrote the overlay, because undocumented patches are most often found at this stage.
Port the overlay to the JAR layout
In a non-production branch, the build is restructured so the overlay produces a midpoint.jar containing the added configuration files, web resources and Java code, following Evolveum's overlay project documentation for the target release. Dependency versions and build plugins are aligned with the target midPoint version rather than carried over blindly. The step is complete when the branch builds reproducibly from a clean checkout and the produced artifact contains every item from the inventory, with nothing left in the old WAR structure.
Add overlay-info.txt and check the About page
An overlay-info.txt file is added to the JAR so the About page shows the overlay message in place of the Unofficial build notice, since overlay builds cannot carry Evolveum's signature. The text should identify the organization, the overlay version and the base midPoint release, so support staff can tell the build apart from upstream. The step is complete when a deployed test instance shows the intended message on the About page and the signature status is recorded in the release notes for the build.
Test the build in staging against the target version
The JAR build is deployed to a staging environment that mirrors production's database, Java runtime and integration endpoints, using the target midPoint release and the Java version that release recommends. Functional tests cover the customized mappings, object templates, connectors, GUI changes and any custom code paths, and the results are logged against the inventory. The step is complete when every inventory item has a passing test or a documented, accepted gap, and when startup and upgrade logs show no unexpected errors.
Run a parallel period on the same data
The WAR and JAR builds run side by side against the same copy of test data, with the same scheduled tasks, reconciliation runs and sample requests. Outputs are compared using a defined checklist: object counts, resulting account and role assignments, audit records, notifications, scheduled task results and any custom report. The comparison needs identical input data and identical timing, otherwise differences will not be attributable to the packaging change. The step is complete when the checklist shows no unexplained differences and each accepted difference has an owner and a written reason.
Cut over to the JAR build
The operations team deploys the JAR build to production during an agreed change window, with a rollback plan that keeps the last WAR artifact and its configuration available. Post-deployment checks repeat a subset of the parallel comparison checklist against live results, and the About page and build identifier are verified. The step is complete when production runs the JAR build, the checks pass, and the change record links the artifact, the checklist and the rollback criteria.
Decommission the WAR build
After the JAR build has run in production through an agreed observation period, the WAR pipeline is removed from the build system, its artifacts are archived according to the organization's retention policy, and the overlay documentation is updated to describe the JAR layout. The step is complete when the WAR build is no longer scheduled, the archived artifact is recoverable, and the runbook reflects the new build and upgrade procedure for the next midPoint release.
What drives effort and cost in an overlay migration
This table lists the factors that change how much work a WAR to JAR overlay move takes and how often the cost comes back. Read the first column as the question to answer about your own overlay, then use the other columns to see why it matters and what to request in a quote. The main takeaway is that the port is a one-time cost, while every midPoint upgrade repeats the build, test and redeploy cycle for the overlay.
| Driver | Why it matters | What to ask for in a quote |
|---|---|---|
| Amount of Java code in the overlay | Java code is now packaged into midpoint.jar, so each custom class must be checked against the new build layout and the target version's APIs. | Count of custom classes and modules, with a plan to port, retest and document each one. |
| Configuration files and web resources | Configuration files, web resources and other overlay assets all move into the JAR-based build, and each one needs its paths and references checked. | Inventory of configuration files and web resources, and which ones are generated, copied or hand edited. |
| Target midPoint version | The Java runtime depends on the version: Java 21 for 4.10 and older, Java 25 for 4.11 and later, according to the system requirements. | Named target release and the Java version the build and test environments will use. |
| Number of environments to rebuild and retest | Each environment, such as development, test, staging and production, needs its own overlay build, deployment and regression run. | List of environments, who signs off each one, and whether the test plan covers every environment. |
| In-house build expertise | Teams familiar with Maven, Java packaging and midPoint internals port faster, while teams without it spend more time learning the build and debugging it. | Named engineers on the migration, their midPoint and Maven experience, and any knowledge transfer included. |
| One-time work: port, test and cutover | The initial port, regression testing and production cutover happen once for this migration and are the main project cost. | Separate line items for porting, testing, cutover support and documentation so the one-time share is visible. |
| Recurring work: overlay rebuild on each upgrade | Every midPoint upgrade requires rebuilding the overlay against the new release, retesting custom code and redeploying, which repeats for the life of the deployment. | Expected effort per upgrade, whether it is covered by a retainer, and who owns the rebuild after handover. |
Why overlay builds show an overlay message on the About page
An overlay build cannot carry Evolveum's signature, so the About page will not show the standard build identity. Because your build is your own artifact built from the Evolveum base plus your changes, the signature Evolveum applies to its official JAR does not apply to it. Without further action, the About page would display an Unofficial build label. To present the build accurately, add an overlay-info.txt file to the overlay project so the About page shows an overlay message describing your build instead. The file is a small, low-risk change, but it belongs in the migration plan because it changes what anyone looking at the running system sees.
This matters most to auditors and internal reviewers who check which software is actually running. When they open the About page, they should be able to tell that the instance is an organization-built overlay on a specific midPoint version, not an unmodified Evolveum release. Define the wording in overlay-info.txt with your change management and security teams before cutover, and include the file's contents, the midPoint base version and the overlay's version identifier in your release record. Then the running build can be matched to the source, configuration and approval trail that auditors will ask for. Do not rely on the label alone as evidence of what was deployed; keep a checksum of the built JAR and the source revision in your own records.
Confirm the exact About page behavior for your target midPoint version against Evolveum's JAR signature status documentation before the cutover, since the signature and display rules are tied to release-specific packaging. Test the build in a non-production environment and check the About page text, the reported build information and any log output that identifies the build. Record the result in the cutover checklist. If the documentation for your version differs from what you observe, raise it with Evolveum before go-live rather than accepting an unexplained Unofficial label in production.
What usually goes wrong when overlay code moves to JAR
Most failures in an overlay move come from treating the JAR as a repackaged WAR. The risks below share one root cause: the build, the labeling and the upgrade plan were not reviewed together before the new artifact reached a shared environment.
Overlay copied from the WAR layout
Teams often move the WAR overlay files into the new project and assume the same behavior. Under the JAR layout, configuration files, web resources and Java code are packaged into a new midpoint.jar, so paths, class locations and resource lookups can change. Rebuild from the JAR-based project template, then run the full regression suite and a login-to-provisioning smoke test before any environment receives the artifact.
Overlay project docsUnlabeled overlay builds
An overlay build cannot carry Evolveum's signature, so the About page shows Unofficial build unless the overlay supplies its own overlay-info.txt. Without that file, auditors and reviewers may read a customized build as an unverified official release. Add the file as part of the build, state the customer and change set in it, and confirm the About page shows the overlay message in each environment.
JAR signature statusCustomizations tied to the older release
Code written against classes, expressions or GUI elements of an older midPoint release can compile yet fail at runtime on the target version. This is most common in custom mappings, function libraries and GUI extensions. Inventory each customization against the target release notes, rebuild against the target version, and keep a test case for every custom behavior that a business process depends on.
Upgrades that outrun support dates
Moving to a JAR overlay is often bundled with a version jump, and the target release may fall outside its support window before the rollout completes. Check the support end date of the target release and the planned next release before scheduling the cutover. If the window is tight, confirm the upgrade path with Evolveum or your support provider before committing to a date.
midPoint releasesNo tested rollback path
A new JAR artifact replaces the running application, and a failed upgrade without a rollback leaves identity provisioning stopped. Keep the previous WAR or JAR build, the matching configuration and a repository backup taken before the change. Rehearse the rollback in a non-production environment, and record how long restoring service takes so the go or no-go decision uses real data.
How the JAR overlay affects the next midPoint upgrade
Every midPoint upgrade now means rebuilding the overlay project against the new release, so the overlay belongs in the upgrade plan from the start rather than as a final build step. Under the JAR-based layout, the overlay produces its own midpoint.jar that carries your configuration files, web resources and any Java code, so a new base release means a new build of that artifact. Treat each Java change, custom resource and configuration file as something that must be retested against the target version, because a change that built cleanly against one release may not compile or behave the same against the next.
Plan the upgrade path around the supported release dates. midPoint 4.8 (Curie) is the long-term support release with support until 17 October 2028. midPoint 4.10 (Braille) is a feature release supported until 26 November 2027, and midPoint 4.9 support ends 18 October 2026. midPoint 4.11 (Čapek) is planned as a feature release for 21 October 2026. If your overlay currently targets 4.9, the release calendar means the next move is a planning decision with a fixed deadline, not an open-ended task. Confirm the sequence of supported versions you must step through with the midPoint releases documentation before you commit to a target.
Ask for the overlay to be included in the upgrade estimate, with its own line item for rebuilding, retesting custom code and reviewing configuration against the new version. Also decide early how the overlay's About page will identify it. Overlay builds cannot carry Evolveum's signature, so include an overlay-info.txt file to show your overlay message instead of the Unofficial build label. Confirm the exact handling for your target release with the signature status documentation before the upgrade is scheduled, so that the build and the audit evidence for the upgrade match.
How much does it cost and how long does an overlay migration take
How much does a WAR to JAR overlay migration cost?
The cost depends on how much code-level customization the overlay carries, not on the packaging change alone. The work is paid for in four parts: reviewing the existing overlay and its dependencies, rewriting the Maven build to produce the new midpoint.jar, testing the customizations against the target midPoint version, and handing over the build and runbook. Each of these is one-time work, but the build and test steps recur at every midPoint upgrade. DeployOpen does not publish prices, so a quote follows from a written scope. Ask for the scope to list each customization, the target midPoint version, the environments to test, and whether the quote covers a first build only or the next upgrade cycle as well.
How long does an overlay migration take?
The duration depends on the overlay, so there is no fixed answer until the code has been reviewed. The main factors are the number of Java classes, configuration files and web resources in the overlay, how many of them depend on internal midPoint APIs, the number of environments that must be tested, and how quickly the client can approve test results. A small overlay that only adds configuration and a few resources is a different project from one that carries custom Java code. Ask for a timeline that is tied to the written scope and to named review and test milestones.
What must our team provide for an overlay migration?
The team needs to provide access to the current overlay source code and its build history, the midPoint version it runs today, and a non-production environment that matches production closely enough to test realistic workflows. Test data should be anonymized or synthetic if it contains personal data. Named owners are essential: one person who can make decisions about the overlay code, one for the target environments and deployment, and one for test sign-off. Ask the partner to confirm in writing which items they need before work starts and which items are the client's responsibility.
Can our in-house team migrate the overlay without a partner?
Yes, if the team has Java and Maven experience, can read the midPoint overlay documentation, and has time to test each customization after the build changes. The risk lies in the knowledge gap: the overlay project and the signature status of its builds are documented by Evolveum, and an error in the new build layout can surface only after deployment. A partner adds value when the team lacks this experience, when deadlines are tight, or when an independent reviewer is wanted for the change record. Ask a partner to show how they will document decisions and tests so the internal team can run the next upgrade without them.
How does the JAR overlay affect future midPoint upgrades?
After migration, every midPoint upgrade will require rebuilding the overlay against the new version and retesting each customization. Because the overlay now produces a midpoint.jar that can include Java code, custom classes must be checked against changes in midPoint's internal interfaces. Overlay builds cannot carry Evolveum's signature, so they should include an overlay-info.txt file so the About page shows an overlay message instead of an unofficial build label. Ask the partner for an upgrade procedure that covers the overlay build, the test set and the rollback plan, and confirm which midPoint versions it has been planned against.
Do we need a retainer after cutover?
A retainer is optional. It becomes useful when the overlay will be rebuilt on every midPoint release, when your team wants support during the first production upgrade, or when the customizations change often. Retainers are recurring, while the migration itself is one-time fixed-scope work. Ask for the retainer terms in writing: what is covered, how upgrade work is scheduled against midPoint's release calendar, how response times are defined, and what happens to the overlay if the retainer ends. If you also hold an Evolveum support subscription, confirm how the two services divide responsibility for bugs.
How DeployOpen works on this
DeployOpen starts by reading your existing overlay project and deciding, in writing, which customizations move to the JAR-based layout and which need rework. The work is then built, tested and handed over inside your own infrastructure, so your team keeps control of the code, the builds and the upgrade path.
How we scope
- Inventory every code-level change, configuration file and web resource in the current overlay project before any build work starts.
- Agree in writing which customizations move to the new midpoint.jar layout, which are rewritten and which are retired.
- Confirm the target midPoint release and its Java version, and record which upgrade steps are in or out of scope.
- Engagements are fixed-scope, so deliverables and timelines are set in the written scope before work begins.
How we build
- Convert the Maven build from WAR packaging to the JAR overlay structure, following Evolveum's overlay project guidance.
- Test the migrated overlay against a staging midPoint with a copy of your configuration and representative data.
- Add an overlay-info.txt file so the About page shows your overlay message rather than an unofficial build label.
- Document the build steps, dependency versions and any changed deployment commands in a runbook your team can follow.
How we hand over
- Deliver the migrated source, build scripts and deployment artifacts into your own repositories and infrastructure.
- Run a walkthrough with your developers and operators covering the new build layout, testing steps and rollback path.
- Provide a written record of what changed, what was tested and which items remain open for your team to confirm.
- Confirm with your auditors or security reviewers how the overlay build status will appear in their evidence requests.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the migration is handed over.
- Retainer support can cover re-running the overlay build against each midPoint release you plan to adopt.
- Ask for the support scope in writing, including which midPoint versions and overlay changes it covers.

