There is already a LICENSE.txt in project root directory:
However, we also need to add <license> element to project root pom.xml.
An example of such license element:
Use the URL from the appropriate entry as the <url> entry:
Use the name from spdx as the <name>:
- in JBeret project master branch (1.3.0 or later), a LICENSE.txt is already packaged into jar:
- in JBeret project 1.2.x branch, no license file in jar artifacts.
jboss-batch-api_spec project (https://github.com/jboss/jboss-batch-api_spec)
already contains a LICENSE.txt, includes the LICENSE.txt in artifact jar file, and <license> element in pom.xml.
Made the minor change for the license name (changing Apache License to Apache License 2.0).