HubSpot / prettier-maven-plugin

Apache License 2.0
116 stars 23 forks source link

Add license to pom.xml #15

Closed jjloneman closed 4 years ago

jjloneman commented 4 years ago

Problem

My enterprise's Maven repository manager automatically rejects requesting this package since it does not contain a license property in the pom, though one is provided in this Github repo.

Solution

A license property should be added to pom.xml like so:

<project ...>
    ...
    <licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
        </license>
    </licenses>
    ...
</project>
jhaber commented 4 years ago

Thanks for reporting this issue, I just pushed 93bdb1d2cae6efe4a6a8b31a025ed2e2d2782749 Do you also need me to cut a new release with this change?

jjloneman commented 4 years ago

Yes, that would be great, thanks!

jhaber commented 4 years ago

I just released version 0.9 and it should show up in Maven Central in a few hours

jjloneman commented 4 years ago

Awesome, thank you and keep up the great work! :)