0

I want to use two particular open-source libraries, in unmodified form, as dependencies of a project. One of the libraries is published under the MIT license; the other library is published under the Mozilla Public License version 2.0. The project itself is licensed under the Apache Public License version 2.0.

Can I legally use the two libraries without changing the project's license?

4

None of the MPL, MIT or Apache licenses are viral. This means that none of the licenses tries to extend its reach beyond the files that it is explicitly applied to.

Additionally, all three of the licenses are permissive in nature, so they allow the code to be included in other projects with only few restrictions.

Combined, this means that your project can include libraries with a mixture of these licenses without any problem and none of the libraries would put any constraints on the license that you choose for your own code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.