Nuxeo Core Developer Guide

Copyright and License Headers

Updated: March 18, 2024

All code committed in Nuxeo repositories must be licensed under the Apache License, Version 2.0, or a compatible license (LGPL 2.1, Eclipse, CDDL) if importing code with a third-party copyright. All Java files (and if possible other text-based files) must start with a header stating this and describing who owns the copyright, and optionally who contributed to the file (to comply with the Moral Rights of the Berne Convention).

Example headers follow.

You can import them in JAutodoc Eclipse plugin from tools/jautodoc_header_*.txt.

Apache License v2.0

/*
 * (C) Copyright ${year} Nuxeo (http://nuxeo.com/) and others.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Contributors:
 *     ...
 */