Directional engineering analysis comparing Apache License 2.0 and Eclipse Public License 2.0 across dependency linking, patent terms, and redistribution obligations.
Apache-2.0 (Dep) → EPL-2.0 (Project)COMPATIBLE
Apache-2.0 dependency is compatible with EPL-2.0
Apache-2.0 permits combining with EPL-2.0 code while preserving Apache-2.0 LICENSE/NOTICE files and patent retaliation for the Apache component.
Ship upstream Apache-2.0 LICENSE and NOTICE file verbatim.
Add prominent change notices if you modify Apache-2.0 files.
Keep patent-litigation retaliation risk in mind.
EPL-2.0 (Dep) → Apache-2.0 (Project)CONDITIONAL
EPL-2.0 weak module copyleft compatible with Apache-2.0 via module separation
EPL-2.0 permits combining EPL-2.0 modules with Apache-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
Apache-2.0
EPL-2.0
Full Name
Apache License 2.0
Eclipse Public License 2.0
OSI Approved
Yes
Yes
Copyleft Scope
None (Permissive + Patent)
Weak (Module-level)
Patent Terms
Explicit grant + patent retaliation
Explicit grant + retaliation
Key Rule
Permissive license with explicit patent grant, patent retaliation clause, and NOTICE preservation requirement.
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.
Can a EPL-2.0 project use a Apache-2.0 dependency?
COMPATIBLE: Apache-2.0 permits combining with EPL-2.0 code while preserving Apache-2.0 LICENSE/NOTICE files and patent retaliation for the Apache component.
Can a Apache-2.0 project use a EPL-2.0 dependency?
CONDITIONAL: EPL-2.0 permits combining EPL-2.0 modules with Apache-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.