#203 pom.xml does not contain license information

dom4j_1.6.x
open
nobody
None
1
2014-07-29
2013-03-27
Cinquero
No

pom.xml does not contain license information. Please add a section like:

<licenses>
    <license>
        <name>BSD license variante #5</name>
        <url>... point to your license...</url>
        <distribution>repo</distribution>
    </license>
</licenses>

Otherwise the license-maven-plugin cannot automatically include all dependencies' licenses.

Discussion

  • Jared Hodge
    Jared Hodge
    2014-07-29

    I'd vote for this, here is text you can copy and paste into the pom:

    <licenses>
        <license>
            <name>BSD style</name>
            <url>https://sourceforge.net/p/dom4j/code/ci/default/tree/LICENSE.txt</url>
        </license>
    </licenses>
    

    Note, that the license-maven-plugin IS still able to review licenses for dependencies, but an explicit exclusion is necessary for dom4j due to no license being listed in the pom.xml.
    Also, there is unfortunately no consistency in license names, but having SOME license declared in the pom is reasonably standard among modern maven dependencies (93% of my 132 dependencies have one).

     
    Last edit: Jared Hodge 2014-07-29