Apache 2.0 is a permissive free software license released by the Apache Software Foundation (ASF) in January 2004, intended to make it easier for non-ASF projects to use, improve compatibility with GPL software, allow the license to be included by reference rather than listed in every file, clarify the licensing of contributions, and require a patent license for contributions that necessarily infringe the contributor's own patents.
Key capabilities and license conditions: The license is permissive; unlike copyleft licenses, it does not require derivative works or modifications to the original software to be distributed under the same license, but it still requires the same license to be applied to all unmodified parts. In each licensed file, the original copyright, patent, trademark, and attribution notices must be retained (except notices unrelated to any part of the derivative work). In each modified licensed file, a notice must be added stating that changes have been made to that file. If the original work includes a NOTICE text file when distributed, the derivative work must include a readable copy of these notices in the distributed NOTICE text file, in the source code or documentation, or in a display generated by the derivative work (where third-party notices typically appear). The contents of the NOTICE file do not modify the license and are for informational purposes only; additional attribution notices may be appended to the NOTICE text, provided that these notices cannot be construed as modifying the license. Modifications may carry appropriate copyright notices and may provide different license terms for the modifications. Unless explicitly stated otherwise, any contribution submitted by a licensee to the licensor is provided under the terms of the license without any additional terms and conditions, but this does not preclude separate agreements with the licensor regarding these contributions.
Patent clause: Section 3 of Apache 2.0 attempts to prevent potential patent litigation. Each contributor grants users a patent license to "make, have made, use, offer to sell, sell, import, and otherwise transfer the work." Through a deterrence clause, if a user sues anyone claiming that the software or its contribution constitutes patent infringement, all such patent licenses for the work will terminate.
Compatibility: The Apache Software Foundation and the Free Software Foundation agree that Apache 2.0 is a free software license and is compatible with version 3 of the GNU General Public License (GPL), meaning that code under GPLv3 and Apache 2.0 can be combined as long as the final software is licensed under GPLv3. The Free Software Foundation considers all versions of the Apache License incompatible with earlier versions 1 and 2 of the GPL, and considers versions of the Apache License prior to 2.0 incompatible with GPLv3.content. Due to the patent licensing requirements of version 2.0, the Free Software Foundation recommends it over other non-copyleft licenses. If the Apache License with the LLVM exception is used, it is compatible with GPLv2.
Adoption: In October 2012, 8,708 projects on SourceForge.net were available under the terms of the Apache License. In a May 2008 blog post, Google mentioned that at that time more than 25% of the nearly 100,000 projects hosted on Google Code used the Apache License, including the Android operating system. As of 2015, according to Black Duck Software and GitHub, the Apache License was the third most popular license in the FOSS field, after the MIT License and GPLv2.
Limitations and controversies: The OpenBSD project considers Apache 2.0 not an acceptable free license because of its patent clauses. OpenBSD policy holds that when a license forces the relinquishment of legal rights one originally possesses, the license is no longer free. In addition, the project opposes mixing contract law with copyright law, stating that "copyright law has a certain degree of standardization through international agreements, while contract law varies enormously across jurisdictions. Therefore the meaning of a license may differ across jurisdictions and be difficult to predict."
Applicable scenarios: Apache 2.0 is suitable for open source projects that wish to release software in a permissive manner, allowing commercial use and modification, while retaining attribution and patent protection. It is widely adopted by ASF projects and many non-ASF projects.