Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
A practical example of how this has to be handled was exactly what I was looking for(rather than people giving their opinion, if including or removing a license is legal or not and that's not what the OP had asked, the OP had asked how the licenses should be included). People who downvoted, please enlighten us why this answer is not valid.