How can I integrate open source licenses, such as MIT, into my own open source project when my code is unlicensed?
<p>I want to use a portion of an existing project that is licensed under MIT. MIT seems to state that I must include their license in my work, but I don't want to use any license for my own work (i.e. unlicensed). Merely copying their license into my project makes it look like they wrote my entire project instead of just a portion of it.</p>

<p>What is the correct way to integrate someone else's open source license into my project such that I am compliant with the requirements of their license, acknowledging their contribution, but remain able to license my own project a different way, including unlicensing my own work?</p>

<p>Basically, you cannot do it. You are required to include the MIT license in any derivative work. However, that holds only for the parts that you import from this other project. You can identify which parts of the final product are copied from the MIT-licensed program (and indicate "these parts are subject to the following MIT license"), and then you can do whatever you want with the remainder that you wrote.</p>

<p>The downside of not licensing your material is that nobody can use it. To use it, people would need permission, which is what a license is. If you don't license it, you don't give permission, so people can't use it. You presumably want to subject your own contribution to different licensing conditions, so then you would state those conditions and clearly indicate what parts of the code you wrote.</p>

licensing open-source-software