Eclipse Public License 2.0
Module-level copyleft with a patent grant and a commercial-friendly linking story. Its secondary-licence option can allow GPL distribution in some configurations, but the FSF still treats EPL-2.0 as incompatible with the GPL.
You may sell products that contain this code, charge for them and keep the revenue. No royalty is owed and no permission is needed.
What you can do
- sell a product that uses it
- ship it inside a closed-source product
- link or bundle it with proprietary code
- run it as a service without publishing anything
What you must do
- keep the copyright and permission notice in every copy
- mark the files you changed
- hand the source to anyone you distribute binaries to
- keep the modified files under the same licence
What you cannot do
- modify it without marking the changes
Where it fits
Java and Eclipse-adjacent stacks where GPL mixing is not required.
The thing people get wrong
The FSF's reading is that EPL-2.0 is no more GPL-compatible than 1.0; the Eclipse secondary-licence route only helps when the EPL code itself is set up for it.
Mixing it with other licences
One-way: can code under this licence live inside a project released under the licence in the table?
| Outbound licence | SPDX | Verdict |
|---|---|---|
| MIT | mit | No |
| Apache-2.0 | apache-2.0 | No |
| BSD-3 | bsd-3-clause | No |
| ISC | isc | No |
| MPL-2.0 | mpl-2.0 | No |
| LGPL-3.0 | lgpl-3.0 | No |
| GPL-2.0 | gpl-2.0 | Depends |
| GPL-3.0 | gpl-3.0 | Depends |
| AGPL-3.0 | agpl-3.0 | Depends |
Full 10 × 10 matrix — read the direction of the table before quoting it
Related
Can I use it commercially?Compliance checklistEclipse Public License 2.0 vs GNU GPL v3.0
Questions
Can I use Eclipse Public License 2.0 commercially?
You may sell products that contain this code, charge for them and keep the revenue. No royalty is owed and no permission is needed.
Do I have to keep the copyright notice?
Publish changes to EPL modules; keep notices; state the commercial distributor if you are one.
Do I have to publish my changes?
Publish changes to EPL modules; keep notices; state the commercial distributor if you are one.
Is Eclipse Public License 2.0 OSI approved and FSF free?
OSI: Yes. FSF: Yes.
What do people get wrong about Eclipse Public License 2.0?
The FSF's reading is that EPL-2.0 is no more GPL-compatible than 1.0; the Eclipse secondary-licence route only helps when the EPL code itself is set up for it.