Skip to content

Commit

Permalink
Fix the 'Bundle-License'-Property in the META-INF file
Browse files Browse the repository at this point in the history
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/)
  • Loading branch information
Carl Mai authored and Carl Mai committed Apr 17, 2024
1 parent 561af43 commit 579e601
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static Action<MapProperty<String, String>> bundleDefaults(Project project
});
properties.put(Constants.BUNDLE_SYMBOLICNAME, project.getGroup() + "." + project.getName());
properties.put(Constants.BUNDLE_DOCURL, "http://ehcache.org");
properties.put(Constants.BUNDLE_LICENSE, "LICENSE");
properties.put(Constants.BUNDLE_LICENSE, "Apache-2.0");
properties.put(Constants.BUNDLE_VENDOR, "Terracotta Inc., a wholly-owned subsidiary of Software AG USA, Inc.");
properties.put(Constants.BUNDLE_VERSION, osgiFixedVersion(project.getVersion().toString()));
properties.put(Constants.SERVICE_COMPONENT, "OSGI-INF/*.xml");
Expand Down

0 comments on commit 579e601

Please sign in to comment.