Hello,
First of all: I'm not a lawyer and this is not a legal advice.
The Apache License 2.0 appendix is telling how to use the license but it shall not be modified. The boilerplate needs to be attached elsewhere.
For example, you can copy this boilerplate in the README.md file. You can also include it in a text file named NOTICE, but this file needs to be redistributed with the work (see section (4) d. of the license).
Also, I recommend adding SPDX headers in every source code files to discourage people from stripping the license from the source code. See also Reuse, they provide a tool to check conformance for this.
Hello,
First of all: I'm not a lawyer and this is not a legal advice.
The Apache License 2.0 appendix is telling how to use the license but it shall not be modified. The boilerplate needs to be attached elsewhere.
For example, you can copy this boilerplate in the
README.mdfile. You can also include it in a text file namedNOTICE, but this file needs to be redistributed with the work (see section (4) d. of the license).Also, I recommend adding SPDX headers in every source code files to discourage people from stripping the license from the source code. See also Reuse, they provide a tool to check conformance for this.