From 865067169c39585628a11d4c1bf619b4cc940c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bl=C3=A4sing?= Date: Mon, 28 Jun 2021 21:30:36 +0200 Subject: [PATCH] Optimize license information in pom.xml - the maven pom.xml documentation recommends to use the SPDX identifier as license name - the link to the LGPL 2.1 license should point to license itself, not to an overview page (reported by @TorstenKruse) Closes: #1355 --- pom-jna-jpms.xml | 30 ++++++++++++++++++++---------- pom-jna-platform-jpms.xml | 30 ++++++++++++++++++++---------- pom-jna-platform.xml | 30 ++++++++++++++++++++---------- pom-jna.xml | 30 ++++++++++++++++++++---------- 4 files changed, 80 insertions(+), 40 deletions(-) diff --git a/pom-jna-jpms.xml b/pom-jna-jpms.xml index 672feafc75..0a509e528d 100644 --- a/pom-jna-jpms.xml +++ b/pom-jna-jpms.xml @@ -14,16 +14,26 @@ https://github.com/java-native-access/jna - - LGPL, version 2.1 - http://www.gnu.org/licenses/licenses.html - repo - - - Apache License v2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - + + LGPL-2.1-or-later + https://www.gnu.org/licenses/old-licenses/lgpl-2.1 + repo + + Java Native Access (JNA) is licensed under the LGPL, version 2.1 or + later, or the Apache License, version 2.0. You can freely decide which + license you want to apply to the project. + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + Java Native Access (JNA) is licensed under the LGPL, version 2.1 or + later, or the Apache License, version 2.0. You can freely decide which + license you want to apply to the project. + + diff --git a/pom-jna-platform-jpms.xml b/pom-jna-platform-jpms.xml index f022e3557f..5ee608e389 100644 --- a/pom-jna-platform-jpms.xml +++ b/pom-jna-platform-jpms.xml @@ -14,16 +14,26 @@ https://github.com/java-native-access/jna - - LGPL, version 2.1 - http://www.gnu.org/licenses/licenses.html - repo - - - Apache License v2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - + + LGPL-2.1-or-later + https://www.gnu.org/licenses/old-licenses/lgpl-2.1 + repo + + Java Native Access (JNA) is licensed under the LGPL, version 2.1 or + later, or the Apache License, version 2.0. You can freely decide which + license you want to apply to the project. + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + Java Native Access (JNA) is licensed under the LGPL, version 2.1 or + later, or the Apache License, version 2.0. You can freely decide which + license you want to apply to the project. + + diff --git a/pom-jna-platform.xml b/pom-jna-platform.xml index 7ef76fa9c1..29ea3d78c9 100644 --- a/pom-jna-platform.xml +++ b/pom-jna-platform.xml @@ -14,16 +14,26 @@ https://github.com/java-native-access/jna - - LGPL, version 2.1 - http://www.gnu.org/licenses/licenses.html - repo - - - Apache License v2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - + + LGPL-2.1-or-later + https://www.gnu.org/licenses/old-licenses/lgpl-2.1 + repo + + Java Native Access (JNA) is licensed under the LGPL, version 2.1 or + later, or the Apache License, version 2.0. You can freely decide which + license you want to apply to the project. + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + Java Native Access (JNA) is licensed under the LGPL, version 2.1 or + later, or the Apache License, version 2.0. You can freely decide which + license you want to apply to the project. + + diff --git a/pom-jna.xml b/pom-jna.xml index 359f88aaa2..a7322d3d50 100644 --- a/pom-jna.xml +++ b/pom-jna.xml @@ -14,16 +14,26 @@ https://github.com/java-native-access/jna - - LGPL, version 2.1 - http://www.gnu.org/licenses/licenses.html - repo - - - Apache License v2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - + + LGPL-2.1-or-later + https://www.gnu.org/licenses/old-licenses/lgpl-2.1 + repo + + Java Native Access (JNA) is licensed under the LGPL, version 2.1 or + later, or the Apache License, version 2.0. You can freely decide which + license you want to apply to the project. + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + Java Native Access (JNA) is licensed under the LGPL, version 2.1 or + later, or the Apache License, version 2.0. You can freely decide which + license you want to apply to the project. + +