The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
Which means that for us using your library, the full LICENSE.txt (yours) needs to be available in what we distribute, not just a generic reference to the MIT license.
The MIT license states that
Which means that for us using your library, the full
LICENSE.txt
(yours) needs to be available in what we distribute, not just a generic reference to the MIT license.Something like this in the POM should do the job: