Hi all,

Using the maven license plugin and get:

ERROR] Failed to execute goal
org.codehaus.mojo:license-maven-plugin:1.4:check-file-header (default-cli)
on project javacountdown-ee6: could not init goal CheckFileHeaderMojo for
reason : licenseName can not be null, nor empty -> [Help 1]

My licence section looks like:

    <licenses>

        <license>

            <name>The Apache Software License, Version 2.0</name>

            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>

            <distribution>repo</distribution>

            <comments>A business-friendly OSS license</comments>

        </license>

    </licenses>

Any ideas?

Cheers,
Martijn

Reply via email to