I'm using source code from a code example that is licensed under the Apache 2.0 License in my program. Now I would like to publish that program and source code on GitHub using the MIT License. I've read the following in the license:
You must cause any modified files to carry prominent notices stating that You changed the files;
But I didn't change any of the files I just copied the relevant parts of the code into my source files.
Now here are my questions:
I know I have to add a copy of the Apache 2.0 License into my project but do I have to put anything into my source files to correctly publish my program/source code?
As it is a command line program do I have to add a -license switch and display the license or do I have to add it the "USAGE" output?
Do I have to put the MIT License into every of my source files or is it enough to have a copy of it in the project?
Thanks in advance!