LicensePlain 中文 visits —
Home / Compliance / Apache License 2.0
PermissiveSteps 4

How to comply with Apache 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. Include the NOTICE fileIf the upstream project ships a NOTICE file you must pass it along and add your own attribution changes to it.
  4. Mark modified filesApache-2.0 §4(b) requires prominent notices stating that you changed the files.

Where audits fail

It cannot be combined with GPL-2.0 code (its patent and indemnity terms are additional restrictions) but it is fine with GPL-3.0.

What the licence promises your users

MIT plus an explicit patent grant a NOTICE-file convention and a rule that modified files must be marked.

Copy this into your release notes

“This product includes software licensed under the Apache License 2.0. The licence text is included in LICENSE.apache-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