There is a new Apache policy regarding license notices in source files; please see ASF Source Header and Copyright Notice Policy for details. We need to replace the Apache copyright notice header for source files with the license header described in the reference. We also need to update the NOTICE file to make sure it conforms to the new policy. The corresponding JIRA issue is JDO-441.

See https://svn.apache.org/repos/private/committers/relicense/src/perl for scripts helping with updating the license headers:

I added support for suffixes ".g" (@cFileTypes), ".orm" (@xmlFileTypes) and ".jdoquery" (@xmlFileTypes) to the official version of the scripts and checked in a new version into the above repository. The JDO version of the scripts adds support for the following suffixes:

Here are the scripts as used to update the JDO subprojects:

Remarks: