CDDL-1.0 Guide

CDDL-1.0, also called the Common Development and Distribution License 1.0, is a Weak Copyleft license that requires disclosure of source code on a per-file basis.

SPDX Identifier: CDDL-1.0

Obligations by Use Case

Case 1. Redistribution in Source Form

When redistributing open source under the CDDL-1.0 license in source form, observe the following.

1-1 Notice Obligation

  • A copy of the license
  • Retain legal notices such as copyright, patent, and trademark notices

In other words, redistribute while keeping the copyright/license information stated in the source code intact.

Case 2. Redistribution in Binary Form

When building open source under the CDDL-1.0 license and redistributing it in binary form only, observe the following.

2-1 Notice Obligation

  • Provide a copy of the license
  • Retain legal notices such as copyright, patent, and trademark notices

Generate an open source notice containing the above and enclose it when redistributing the binary.

2-2 Source Code Provision Obligation

Provide the source code files that fall under CDDL-1.0 within the binary. In doing so, observe the following.

  • CDDL-1.0 requires that content added within a file also be licensed under CDDL-1.0 and have its source code disclosed. Therefore, disclose the modified files as well as the original files under CDDL-1.0.

You can fulfill the source code provision obligation by informing users in the open source notice of how they can obtain the source code.

MPL-Based License

CDDL-1.0 is a license created by Sun Microsystems (now Oracle) based on the Mozilla Public License (MPL).

  • MPL similarity: Per-file Copyleft applies
  • Main usage: Sun/Oracle projects (OpenSolaris, GlassFish, etc.)
  • Current status: The use of CDDL is currently in decline

License Compatibility

Compatibility with Major Licenses

License to CombineCompatibleRemarks
MITCompatibleOnly the CDDL files are disclosed
Apache-2.0CompatibleOnly the CDDL files are disclosed
GPL-2.0/3.0IncompatibleCopyleft conflict
MPL-2.0CompatibleSimilar per-file Copyleft
ProprietaryCompatibleCan be used as long as only the CDDL files are disclosed

References