uklimaschewski / JMXWrapper

JMXWrapper is a wrapper that allows creation of dynamic JMX MBeans through annotations
Other
41 stars 9 forks source link

Include LICENSE.txt in binary #13

Closed phansson closed 7 years ago

phansson commented 7 years ago

The MIT license states that

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.

Something like this in the POM should do the job:

<resources>
    <resource>
        <directory>${basedir}</directory>
        <targetPath>META-INF</targetPath>
        <includes>
            <include>LICENSE.txt</include>
        </includes>
    </resource>
</resources>
uklimaschewski commented 7 years ago

OK, I will add this.

uklimaschewski commented 7 years ago

The license is now in release 1.4: https://github.com/uklimaschewski/JMXWrapper/releases/tag/1.4