I have a project template that I have published to GitHub which is currently licensed under the Apache 2.0 License (I am the sole author/contributor). I want to use this template in another project which is also going to be licensed under the ALv2 and published to GitHub (the template will obviously be modified to fit my needs).
Since I have written this code myself, do I have to place the original copyright notice of my template file in my new project file as well?
To give an example, suppose there was a file in the template CMakeLists.txt
:
# CMakeLists.txt - Contains CMake configuration for whole project
# Copyright 2018 Arnav Borborah
#
# 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.
... Contents ...
Project Name
Now in my new project (the one using the template), I do this:
# NewCMakeLists.txt - Contains CMake configuration for whole project # Copyright 2018 Arnav Borborah # # 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. ... Contents ... New Project Name
So, do I have to do anything else (such as putting the original LICENSE
file in the root of my project), or do I have to state the modifications I have made with a separate license notice? (This is my own code in both cases.)