Skip to content

Commit 579e601

Browse files
Carl MaiCarl Mai
authored andcommitted
Fix the 'Bundle-License'-Property in the META-INF file
According to https://docs.osgi.org/specification/osgi.core/7.0.0/framework.module.html the Bundle-License property should contain the license-identifier (with the suggestion to use the SPDX-identifier: https://spdx.org/licenses/)
1 parent 561af43 commit 579e601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-logic/src/main/java/org/ehcache/build/conventions/BndConvention.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static Action<MapProperty<String, String>> bundleDefaults(Project project
6969
});
7070
properties.put(Constants.BUNDLE_SYMBOLICNAME, project.getGroup() + "." + project.getName());
7171
properties.put(Constants.BUNDLE_DOCURL, "http://ehcache.org");
72-
properties.put(Constants.BUNDLE_LICENSE, "LICENSE");
72+
properties.put(Constants.BUNDLE_LICENSE, "Apache-2.0");
7373
properties.put(Constants.BUNDLE_VENDOR, "Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.");
7474
properties.put(Constants.BUNDLE_VERSION, osgiFixedVersion(project.getVersion().toString()));
7575
properties.put(Constants.SERVICE_COMPONENT, "OSGI-INF/*.xml");

0 commit comments

Comments
 (0)