LicensePlain 中文 visits —
Home / Compliance / Mozilla Public License 2.0
Weak copyleftSteps 5

How to comply with Mozilla Public License 2.0

Everything below is a build or release step, not a policy statement. If you can point at the file that does each one, you are compliant with the licence text.

The checklist

  1. Ship the licence textPut the full licence in a LICENSE file and reproduce it wherever a recipient can find the notice — installer about box, docs page or wheel.
  2. Keep the copyright lineThe line names the year and the holder. Rewriting it is the single most common audit finding.
  3. Mark what you changedA one-line comment per touched file with your name and the date keeps this cheap.
  4. Provide the corresponding sourceShip the preferred form for modification, not the minified bundle, and say how to obtain it in the documentation.
  5. Do not add restrictionsYou cannot add terms that narrow what the licence already grants — that includes field-of-use bans and anti-compete clauses.

Where audits fail

It offers secondary licences (GPL-2.0-or-later LGPL-2.1-or-later AGPL-3.0-or-later); a file marked “Incompatible With Secondary Licenses” loses that route — which is why GPL-2.0 is the cell to check.

What the licence promises your users

File-level copyleft: files you modify must stay MPL while the rest of your project can be licensed however you want.

Copy this into your release notes

“This product includes software licensed under the Mozilla Public License 2.0. The licence text is included in LICENSE.mpl-2.0 and in the about screen.”

Steps reflect the published licence text and the FSF/OSI reading of it. They are a starting point for a compliance review, not a substitute for one.

Licence pageCommercial use