SPDX Pairwise Compatibility · Both Directions

MPL-2.0 & EPL-2.0 License Compatibility

Directional engineering analysis comparing Mozilla Public License 2.0 and Eclipse Public License 2.0 across dependency linking, patent terms, and redistribution obligations.

MPL-2.0 (Dep) → EPL-2.0 (Project) CONDITIONAL

MPL-2.0 weak file-level copyleft compatible with EPL-2.0 Larger Works

MPL-2.0 (§3.3) allows combining MPL-2.0 files with EPL-2.0 files in a Larger Work: new/external EPL-2.0 files stay EPL-2.0, while any modified MPL-2.0 files stay MPL-2.0.

  • Keep modified MPL-2.0 source files under MPL-2.0 and disclose their source code.
  • Keep your separate EPL-2.0 files distinct (do not copy-paste MPL blocks into EPL-2.0 files).
  • Include MPL-2.0 license text and notice of where MPL source can be obtained.
EPL-2.0 (Dep) → MPL-2.0 (Project) CONDITIONAL

EPL-2.0 weak module copyleft compatible with MPL-2.0 via module separation

EPL-2.0 permits combining EPL-2.0 modules with MPL-2.0 modules in a single product, provided changes to EPL-2.0 files/modules remain EPL-2.0 with source code available.

  • Keep EPL-2.0 code in separate modules from your own files.
  • Provide source code availability for any EPL-2.0 modules you distribute.
  • Include EPL-2.0 license notice and patent-retaliation disclaimer.

Side-by-Side SPDX License Obligations

Attribute MPL-2.0 EPL-2.0
Full Name Mozilla Public License 2.0 Eclipse Public License 2.0
OSI Approved Yes Yes
Copyleft Scope Weak (File-level) Weak (Module-level)
Patent Terms Explicit grant + retaliation Explicit grant + retaliation
Key Rule File-level weak copyleft allowing Larger Works with proprietary or permissive code, plus Secondary License compatibility for GPL/LGPL/AGPL. Weak module-level copyleft requiring source availability for modified EPL modules while allowing separate non-EPL modules in combined products.

Interactive Compatibility Explorer

Informational engineering matrix based on SPDX / FSF / OSI guidance — not formal legal advice. Consult qualified counsel for commercial license exceptions.
MPL-2.0 (Dependency) → EPL-2.0 (Project) CONDITIONAL

MPL-2.0 weak file-level copyleft compatible with EPL-2.0 Larger Works

MPL-2.0 (§3.3) allows combining MPL-2.0 files with EPL-2.0 files in a Larger Work: new/external EPL-2.0 files stay EPL-2.0, while any modified MPL-2.0 files stay MPL-2.0.

Engineering Obligations & Actions
  • Keep modified MPL-2.0 source files under MPL-2.0 and disclose their source code.
  • Keep your separate EPL-2.0 files distinct (do not copy-paste MPL blocks into EPL-2.0 files).
  • Include MPL-2.0 license text and notice of where MPL source can be obtained.

Frequently Asked Questions

Can a EPL-2.0 project use a MPL-2.0 dependency?

CONDITIONAL: MPL-2.0 (§3.3) allows combining MPL-2.0 files with EPL-2.0 files in a Larger Work: new/external EPL-2.0 files stay EPL-2.0, while any modified MPL-2.0 files stay MPL-2.0.

Can a MPL-2.0 project use a EPL-2.0 dependency?

CONDITIONAL: EPL-2.0 permits combining EPL-2.0 modules with MPL-2.0 modules in a single product, provided changes to EPL-2.0 files/modules remain EPL-2.0 with source code available.

Is this matrix formal legal advice?

No. This is an informational engineering compatibility matrix based on SPDX, FSF, and OSI licensing guidance. Consult qualified legal counsel for binding commercial or dual-licensing reviews.