SPDX Pairwise Compatibility · Both Directions

GPL-2.0-only & EPL-2.0 License Compatibility

Directional engineering analysis comparing GNU GPL v2.0 only and Eclipse Public License 2.0 across dependency linking, patent terms, and redistribution obligations.

GPL-2.0-only (Dep) → EPL-2.0 (Project) INCOMPATIBLE

GPL-2.0-only dependency cannot be used inside a EPL-2.0 project

GPL-2.0-only is strong copyleft: linking a GPL-2.0-only dependency forces the entire combined distributed work to be licensed strictly under GPL-2.0-only, conflicting with EPL-2.0.

  • Do not link GPL-2.0-only libraries inside a EPL-2.0 distribution.
  • Verify whether upstream actually licensed under GPL-2.0-or-later or replace the dependency.
EPL-2.0 (Dep) → GPL-2.0-only (Project) INCOMPATIBLE

EPL-2.0 is incompatible with GPL-2.0-only unless explicitly dual-licensed

EPL-2.0 weak module copyleft and patent termination clauses conflict with GPL-2.0-only unless the upstream EPL-2.0 copyright holder opted into Secondary License compatibility.

  • Check if the EPL-2.0 dependency includes an explicit Secondary License header for GPL-2.0-only.
  • Without an explicit Secondary License declaration, do not combine in a single distributed work.

Side-by-Side SPDX License Obligations

Attribute GPL-2.0-only EPL-2.0
Full Name GNU GPL v2.0 only Eclipse Public License 2.0
OSI Approved Yes Yes
Copyleft Scope Strong (Combined work) Weak (Module-level)
Patent Terms Implicit only (§7 liberty-or-death) Explicit grant + retaliation
Key Rule Classic strong copyleft license requiring derivative and statically/dynamically linked works to be distributed strictly under GPL-2.0-only. 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.
GPL-2.0-only (Dependency) → EPL-2.0 (Project) INCOMPATIBLE

GPL-2.0-only dependency cannot be used inside a EPL-2.0 project

GPL-2.0-only is strong copyleft: linking a GPL-2.0-only dependency forces the entire combined distributed work to be licensed strictly under GPL-2.0-only, conflicting with EPL-2.0.

Engineering Obligations & Actions
  • Do not link GPL-2.0-only libraries inside a EPL-2.0 distribution.
  • Verify whether upstream actually licensed under GPL-2.0-or-later or replace the dependency.

Frequently Asked Questions

Can a EPL-2.0 project use a GPL-2.0-only dependency?

INCOMPATIBLE: GPL-2.0-only is strong copyleft: linking a GPL-2.0-only dependency forces the entire combined distributed work to be licensed strictly under GPL-2.0-only, conflicting with EPL-2.0.

Can a GPL-2.0-only project use a EPL-2.0 dependency?

INCOMPATIBLE: EPL-2.0 weak module copyleft and patent termination clauses conflict with GPL-2.0-only unless the upstream EPL-2.0 copyright holder opted into Secondary License compatibility.

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.