Mozilla Public License 2.0 (MPL-2.0)

⚖️ The Executive Summary

The Mozilla Public License 2.0 (MPL-2.0) is the "middle ground" of open source licenses. It is a weak copyleft license.

🏛️ The "Business Risk" Matrix

Factor Risk Level Notes
Vendor Lock-in 🟢 Low Code is perpetually open.
Viral Effect 🟡 Medium Only "viral" at the file level, not the project level.
Compliance Cost 🟡 Medium You must track modified files.

📝 Key Obligations

  1. File-Level Copyleft: If you modify file_a.c (MPL), you must share the source of file_a.c.
  2. Compatibility: If you create file_b.c (Proprietary) and link it to file_a.c, file_b.c stays proprietary.
  3. Notice: You must include the license text and copyright notice.