Change JNA license
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 7 Oct 2023 04:43:42 +0000 (06:43 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 7 Oct 2023 04:43:42 +0000 (06:43 +0200)
src/org/argeo/build/Repackage.java

index 1a1f5c1d4b26fdfb768a476da0e1c832daa20ea2..e0f3d1d163052bbaf5b89e745041cd467d48d04b 100644 (file)
@@ -1487,7 +1487,7 @@ public class Repackage {
                        String spdxLicenseId = SPDX_LICENSE_IDENTIFIER.get(mapping);
                        if (spdxLicenseId == null) {
                                if (jarDir.getFileName().toString().startsWith("com.sun.jna"))
-                                       spdxLicenseId = "Apache-2.0 OR LGPL-2.1";
+                                       spdxLicenseId = "LGPL-2.1 OR Apache-2.0";
                                else
                                        throw new IllegalStateException(
                                                        "An SPDX license id must have beend defined for " + jarDir + " at this stage.");