projects
/
cc0
/
argeo-build.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d88917e
)
Force OSGi licenses to Apache-2.0
author
Mathieu Baudier <mbaudier@argeo.org>
Mon, 20 Mar 2023 08:23:09 +0000
(09:23 +0100)
committer
Mathieu Baudier <mbaudier@argeo.org>
Mon, 20 Mar 2023 08:23:09 +0000
(09:23 +0100)
src/org/argeo/build/Repackage.java
patch
|
blob
|
history
diff --git
a/src/org/argeo/build/Repackage.java
b/src/org/argeo/build/Repackage.java
index 77d708f69619c62e47fa070461955abd4550376b..c10f961002f58778af6c44b5ff741f16fa13a772 100644
(file)
--- a/
src/org/argeo/build/Repackage.java
+++ b/
src/org/argeo/build/Repackage.java
@@
-1177,6
+1177,8
@@
public class Repackage {
spdxLicenceId = "GPL-2.0-only WITH Classpath-exception-2.0";
if (bundleDirName.startsWith("javax.inject."))
spdxLicenceId = "Apache-2.0";
+ if (bundleDirName.startsWith("org.osgi."))
+ spdxLicenceId = "Apache-2.0";
manifest.getMainAttributes().putValue(SPDX_LICENSE_IDENTIFIER.toString(), spdxLicenceId);
if (!licensesUsed.containsKey(spdxLicenceId))