Skip to content

Include license and notice in JAR #244

@gredler

Description

@gredler

Sections 4.a and 4.d of the Apache 2.0 license require that users who redistribute this library include the license and any notices. Most open source projects include these files in the JAR files, to make this requirement easy for users to fulfill. Something like this would do the trick:

        <resources>
            <resource>
                <directory>src/main/xsd</directory>
            </resource>
            <resource>
                <directory>${project.basedir}</directory>
                <includes>
                    <include>license.txt</include>
                    <include>NOTICE.md</include>
                </includes>
                <targetPath>META-INF</targetPath>
            </resource>
        </resources>

Metadata

Metadata

Assignees

Labels

EE12Jakarta EE12 release related

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions