Allowed Licenses
CDAP and its plugins are under the Apache2 License. When including a project as a dependency of CDAP itself or of one of its plugins, care must be taken to only use code that have licenses that are just as permissive.
In general, this means only "Notice" license types are allowed. The license must allow original or modified third-party software to be shipped in the product without endangering or encumbering the source code. Some examples of these types of licenses are:
- AFL 2.1 and AFL 3.0
- Apache License 2.0
- ASL 1.1Â (Apache Software License 1.1)
- Boost Software License
- BSD (occasionally referred to as the "University of California" license)
- BSD 3-clause (sometimes called BSD-new)
- Creative Commons "Attribution" (CC BY) license
- JSON License (MIT license with the added note: "The Software shall be used for Good, not Evil.")
- Eclipse Distribution License (BSD variant)
- FreeType Project License
- Microsoft Public License (MS-PL)
- MIT/X11/Expat
- NCSA
- OpenSSL
- PHP License 2.02 and 3.0
- PostgreSQL License
- Python Software Foundation
- Unicode, Inc. License Agreement - Data Files and Software
All of the licenses in this category do, however, have an "original Copyright notice" or "advertising clause", wherein any external distributions must include the notice or clause specified in the license. This means they must be included in the CDAP distribution (https://github.com/cdapio/cdap/tree/develop/cdap-standalone/src/dist/LICENSES).
In particular, "restricted" licenses cannot be used. These licenses require mandatory source distribution when shipping a product that includes third-party code protected by such a license. Also, any use of source code under licenses of this type will force all of CDAP to fall under the restricted license. Some examples of these licenses are: