License header
From FreeMind
Revision as of 05:58, 15 May 2026 by Dan Polansky (talk | contribs)
FreeMind uses the following license header in .java files (see also Licensing):
/* FreeMind - A program for creating and viewing mind maps * Copyright (C) 2000-<YEAR> <AUTHORS> * See COPYING for Details * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
Questions:
- What detail and granularity of authorship should be maintained in the license header?
- Would it suffice to identify the license more succinctly, e.g. "License: GNU GPL V+2; see COPYING for details"?
- What FOSS projects use this kind of succincts identification?
- What FOSS projects use SPDX identifier and in what way?
Example author-declaring lines in the license headers of FreeMind 0.9.0:
- Copyright (C) 2000-2001 Joerg Mueller <joergmueller@bigfoot.com>
- Copyright (C) 2000-2006 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others.
- Copyright (C) 2000-2006 Christian Foltin and others
- Copyright (C) 2000-2004 Joerg Mueller, Daniel Polansky, Christian Foltin and others.
Helpful queries using Unix-like oneliners:
- grep -r --include="*.java" "Copyright" .
- grep -h -r --include="*.java" "Copyright" . | sort | uniq
- grep -h -r --include="*.java" "Copyright" . | sed "s/.*\(C\).*[0-9] *//" | sort | uniq
- This one drops the beginning with years and year ranges.
Keywords: copyright header, copyright notice.
Links: