Change JNA license
[cc0/argeo-build.git] / 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.");