maven-purifier feature matrix
Declared behavior and capabilities. Back to documentation.
| Feature | Behavior |
|---|---|
| Build isolation | nix-sandbox |
| Build outputs | packages, tests, release, fetches |
| Credentials | Unknown: Capture passes Maven settings server/proxy credentials to the lock run, but this bounded record does not establish authenticated Nix prefetch/replay for those repositories; builder fetcher overrides are separate. |
| Dependency sources | Maven repositories selected by POMs and settings.xml mirrors/profiles, Plugin downloads explicitly declared in .mvn/maven-purifier.json |
| LSP completion | Unknown: The existing editor/toolchain setup does not by itself establish LSP completion. No protocol-level result for this capability is asserted in this bounded backfill. |
| Locked dependency sources through LSP | Unknown: The existing editor/toolchain setup does not by itself establish LSP dependency-source retrieval. No protocol-level result for this capability is asserted in this bounded backfill. |
| LSP diagnostics | Unknown: The existing editor/toolchain setup does not by itself establish LSP diagnostics. No protocol-level result for this capability is asserted in this bounded backfill. |
| LSP definition lookup | Unknown: The existing editor/toolchain setup does not by itself establish LSP definition lookup. No protocol-level result for this capability is asserted in this bounded backfill. |
| Offline language-server use | Supported |
| Language tooling mechanism | native build import |
| Editor integration | Supported |
| Inputs | pom.xml |
| Integration | wrapper |
| Lockfiles | maven-purifier.lock.json |
| Missing lock | warn-and-native |
| Nix builder | pkgs.maven-purifier.buildMavenProject |
| Offline limits | Only dependencies/plugins and active profiles covered by the recorded goals and settings are locked., Plugin downloads outside Maven Resolver require explicit .mvn/maven-purifier.json entries., An editor using different Maven default-plugin versions may need explicit pluginManagement versions. |
| Offline scope | locked-dependencies |
| Platform scope and limitations | The retained technical review covers native x86_64-linux, aarch64-linux and aarch64-darwin., No Intel Darwin, cross-compilation or unlisted SDK/system combination is established by that review. |
| Platforms | x86_64-linux, aarch64-linux, aarch64-darwin |
| Incoming projections | conditional |
| Incoming projection formats | Maven |
| Outgoing projections | conditional |
| Outgoing projection formats | Maven |
| Relock | preserves-pins |
| Stale lock | Unknown: Prefetch, publish and the Nix builder reject changed POM/.mvn/goals with a repair command. This record does not establish equivalent stale-lock rejection for every direct invocation of already-prefetched native Maven. |
| Tool | Maven |
For tool, language and platform choices, see Version compatibility.
Version compatibility
Packaged versions
- Apache Maven 3.10.0 Build tool / package managerwithout a Maven wrapper Linux x86-64 · Linux ARM64 · macOS ARM64
- JDK 21.0.11 Runtime running the tool macOS ARM64
- Python 3.14.8 Capture / build helper Linux x86-64 · Linux ARM64 · macOS ARM64
- Plugin/extension build JDK 21.0.11 Capture / build helper macOS ARM64
- JDK 8.0.492 Runtime running the toolMaven 2 / 3.0 fallback macOS ARM64
- JDK 21.0.12.1+1 Runtime running the tool Linux x86-64 · Linux ARM64
- Plugin/extension build JDK 21.0.12.1+1 Capture / build helper Linux x86-64 · Linux ARM64
- JDK 8u504-b01 Runtime running the toolMaven 2 / 3.0 fallback Linux x86-64 · Linux ARM64
Version definitions
flake.lock · pkgs/cli/default.nix · cli/maven_purifier.py · cli/maven_purifier.py · pkgs/cli/default.nix · tests/compatibility/check.py · pkgs/extension/default.nix
Project-selected versions
| Component | Selected by |
|---|---|
| Build tool / package manager: Maven | A Maven wrapper distribution URL selects a version instead of the packaged default..mvn/wrapper/maven-wrapper.properties |
| Runtime running the tool: JDK | Initial capture records the chosen Java major; relocks and Nix builds retain that selection.JAVA_HOME |
Requirements
-
Maven 2 and 3.0 capture defaults to Java 8; a selected JAVA_HOME can choose a different JVM, which project plugins must support.
-
Maven before 3.3.1 does not read .mvn/maven.config. Use the prefetched .maven-purifier/bin/mvn launcher for locked development with those versions.
-
Native incoming dependency selection requires Maven 3 or newer; Maven 2.2.1 can consume Nix inputs through the sandbox builder. The legacy Maven 2/3.0 recording path cannot use authenticated repositories that require Maven-specific transports.
-
The Maven 3 recording classes target Java 8 bytecode; Maven 4-specific recording classes target Java 17. The selected JVM must also meet Maven and project-plugin requirements.
Tested combinations
Maven 2.2.1 OpenJDK 8u504-b01 Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 8u504-b01
- Build tool / package manager: Maven 2.2.1
- Runtime running the tool: OpenJDK 8u504-b01
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Nix input composition in the sandbox
Limits and source evidence
-
Exact Maven distribution selected by wrapper; matching pinned OpenJDK compiler/runtime, Java 8 source/bytecode fixture, deterministic relock, offline native clean install, repeated prefetch and sandbox tests. No publication or ordinary downstream consumer claim.
-
Maven 2 accepts Nix dependencies in the sandbox builder only; no native model adapter, native input selection or online-goal capture/replay claim.
Source revision 0191b266cbb56449b9d6bed5acb4ce4425224ef0.
Maven 3.0.5 OpenJDK 8u504-b01 Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 8u504-b01
- Build tool / package manager: Maven 3.0.5
- Runtime running the tool: OpenJDK 8u504-b01
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Native Nix input composition
- Projected dependency descriptors
- Unchanged project POM
Limits and source evidence
-
Exact Maven distribution selected by wrapper; matching pinned OpenJDK compiler/runtime, Java 8 source/bytecode fixture, deterministic relock, offline native clean install, repeated prefetch and sandbox tests. No publication or ordinary downstream consumer claim.
-
Native –input selection and inferred dependency resolution execute the Java fixture and preserve its POM; sandbox projection checks the rewritten dependency POM.
-
No online-goal capture/replay claim for Maven 3.0.
Source revision 0191b266cbb56449b9d6bed5acb4ce4425224ef0.
Maven 3.3.9 OpenJDK 17.0.20.1+1 Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 17.0.20.1+1
- Build tool / package manager: Maven 3.3.9
- Runtime running the tool: OpenJDK 17.0.20.1+1
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Native Nix input composition
- Projected dependency descriptors
- Unchanged project POM
Limits and source evidence
-
Exact Maven distribution selected by wrapper; matching pinned OpenJDK compiler/runtime, Java 8 source/bytecode fixture, deterministic relock, offline native clean install, repeated prefetch and sandbox tests. No publication or ordinary downstream consumer claim.
-
Native –input selection and inferred dependency resolution execute the Java fixture and preserve its POM; sandbox projection checks the rewritten dependency POM.
Source revision 0191b266cbb56449b9d6bed5acb4ce4425224ef0.
Maven 3.8.8 OpenJDK 17.0.20.1+1 Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 17.0.20.1+1
- Build tool / package manager: Maven 3.8.8
- Runtime running the tool: OpenJDK 17.0.20.1+1
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Native Nix input composition
- Projected dependency descriptors
- Unchanged project POM
Limits and source evidence
-
Exact Maven distribution selected by wrapper; matching pinned OpenJDK compiler/runtime, Java 8 source/bytecode fixture, deterministic relock, offline native clean install, repeated prefetch and sandbox tests. No publication or ordinary downstream consumer claim.
-
Native –input selection and inferred dependency resolution execute the Java fixture and preserve its POM; sandbox projection checks the rewritten dependency POM.
Source revision 0191b266cbb56449b9d6bed5acb4ce4425224ef0.
Maven 3.9.11 OpenJDK 17.0.20.1+1 Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 17.0.20.1+1
- Build tool / package manager: Maven 3.9.11
- Runtime running the tool: OpenJDK 17.0.20.1+1
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Native Nix input composition
- Projected dependency descriptors
- Unchanged project POM
Limits and source evidence
-
Exact Maven distribution selected by wrapper; matching pinned OpenJDK compiler/runtime, Java 8 source/bytecode fixture, deterministic relock, offline native clean install, repeated prefetch and sandbox tests. No publication or ordinary downstream consumer claim.
-
Native –input selection and inferred dependency resolution execute the Java fixture and preserve its POM; sandbox projection checks the rewritten dependency POM.
Source revision 0191b266cbb56449b9d6bed5acb4ce4425224ef0.
Maven 4.0.0-rc-7 OpenJDK 17.0.20.1+1 Linux x86-64
Full toolchain roles
- Project compiler: OpenJDK 17.0.20.1+1
- Build tool / package manager: Maven 4.0.0-rc-7
- Runtime running the tool: OpenJDK 17.0.20.1+1
Linux x86-64 (x86_64-linux) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Native Nix input composition
- Projected dependency descriptors
- Unchanged project POM
Limits and source evidence
-
Exact Maven distribution selected by wrapper; matching pinned OpenJDK compiler/runtime, Java 8 source/bytecode fixture, deterministic relock, offline native clean install, repeated prefetch and sandbox tests. No publication or ordinary downstream consumer claim.
-
Native –input selection and inferred dependency resolution execute the Java fixture and preserve its POM; sandbox projection checks the rewritten dependency POM.
Source revision 0191b266cbb56449b9d6bed5acb4ce4425224ef0.
Maven 3.9.16 Azul Zulu JDK 17.0.19 macOS ARM64
Full toolchain roles
- Project compiler: Azul Zulu JDK 17.0.19
- Build tool / package manager: Maven 3.9.16
- Runtime running the tool: Azul Zulu JDK 17.0.19
macOS ARM64 (aarch64-darwin) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Native Nix input composition
- Projected dependency descriptors
- Unchanged project POM
Limits and source evidence
-
Exact native Apple Silicon tuple using the retained zulu-ca-jdk-17.0.19 payload for both Maven runtime and project compiler. The source-owned fixture captured its wrapper-selected Maven distribution, reproduced the lock byte for byte, prefetched, ran ordinary offline clean install, and executed sandboxed project tests under sandbox=true.
-
The separate input lane executed native Nix-input activation, unchanged-POM assertions and a sandboxed dependency-projection descriptor check. These operations establish no native publication or ordinary downstream publication-consumer claim; no intervening version interval or other SDK/system tuple is inferred.
Source revision 382fb8ec30e8ea8fad98dbb58ac68e47107f0b2b.
Source · Source · CI run · Source · Source · Source · Source
Maven 3.10.0 Azul Zulu JDK 17.0.19 macOS ARM64
Full toolchain roles
- Project compiler: Azul Zulu JDK 17.0.19
- Build tool / package manager: Maven 3.10.0
- Runtime running the tool: Azul Zulu JDK 17.0.19
macOS ARM64 (aarch64-darwin) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Native Nix input composition
- Projected dependency descriptors
- Unchanged project POM
Limits and source evidence
-
Exact native Apple Silicon tuple using the retained zulu-ca-jdk-17.0.19 payload for both Maven runtime and project compiler. The source-owned fixture captured its wrapper-selected Maven distribution, reproduced the lock byte for byte, prefetched, ran ordinary offline clean install, and executed sandboxed project tests under sandbox=true.
-
The separate input lane executed native Nix-input activation, unchanged-POM assertions and a sandboxed dependency-projection descriptor check. These operations establish no native publication or ordinary downstream publication-consumer claim; no intervening version interval or other SDK/system tuple is inferred.
Source revision 382fb8ec30e8ea8fad98dbb58ac68e47107f0b2b.
Source · Source · CI run · Source · Source · Source · Source
Maven 4.0.0-rc-7 Azul Zulu JDK 17.0.19 macOS ARM64
Full toolchain roles
- Project compiler: Azul Zulu JDK 17.0.19
- Build tool / package manager: Maven 4.0.0-rc-7
- Runtime running the tool: Azul Zulu JDK 17.0.19
macOS ARM64 (aarch64-darwin) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
- Native Nix input composition
- Projected dependency descriptors
- Unchanged project POM
Limits and source evidence
-
Exact native Apple Silicon tuple using the retained zulu-ca-jdk-17.0.19 payload for both Maven runtime and project compiler. The source-owned fixture captured its wrapper-selected Maven distribution, reproduced the lock byte for byte, prefetched, ran ordinary offline clean install, and executed sandboxed project tests under sandbox=true.
-
The separate input lane executed native Nix-input activation, unchanged-POM assertions and a sandboxed dependency-projection descriptor check. These operations establish no native publication or ordinary downstream publication-consumer claim; no intervening version interval or other SDK/system tuple is inferred.
-
This is an exact prerelease point, not a GA-release or maintained-version-range claim.
Source revision 382fb8ec30e8ea8fad98dbb58ac68e47107f0b2b.
Source · Source · CI run · Source · Source · Source · Source
Maven 3.10.0 Azul Zulu JDK 21.0.11 macOS ARM64
Full toolchain roles
- Project compiler: Azul Zulu JDK 21.0.11
- Build tool / package manager: Maven 3.10.0
- Runtime running the tool: Azul Zulu JDK 21.0.11
macOS ARM64 (aarch64-darwin) — Checks
Checked operations
- Native lock capture
- Deterministic relock
- Prefetch
- Offline native build
- Project build
- Project tests
- Nix build
Limits and source evidence
-
Independent Google Gson source fcd416909db2bea96eb916bcfb2d0a83cb9b86c3 (source NAR sha256-Z6Ciixpi415JzF96ZACH9YR2Aq15uS/oPz1TxhQGRUQ=) executed 4,875 tests across 134 reports with native Maven 3.10.0 and Azul Zulu JDK 21.0.11 as runtime and compiler. Both the pure project-test check and prefetched ordinary Maven check ran under sandbox=true; the latter required offline failure after withholding JUnit 4.13.2.
-
The companion lock was fixture-seeded and force-relocked twice with byte-identical comparisons before native prefetch/clean install. This is not a fresh no-companion capture, a pre-purifier baseline, or evidence for publication/ordinary downstream consumers. No Intel Darwin, cross-compilation, SDK-family interval or unlisted combination is established.
Source revision 382fb8ec30e8ea8fad98dbb58ac68e47107f0b2b.
Source · Source · Source · CI run · CI run · Source · Source