Skip to content

Commit 0def25e

Browse files
ppkarwaszceki
authored andcommitted
Replace license names with SPDX identifiers
As suggested by [Maven documentation](https://maven.apache.org/pom.html#Licenses) the `/project/licenses/licence/name` element in the POM file should contain a SPDX identifier of the license. The license element is often used by external tools, such as SBOM generators. This PR: - Replaces the current content of the `<name>` element with the appropriate SPDX identifier. - Follows all HTTP 301 redirections of the currently provided license URLs. Signed-off-by: Piotr P. Karwasz <piotr.github@karwasz.org>
1 parent 69c333d commit 0def25e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

jcl-over-slf4j/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<licenses>
2121
<license>
22-
<name>Apache License, Version 2.0</name>
22+
<name>Apache-2.0</name>
2323
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
2424
<distribution>repo</distribution>
2525
</license>

log4j-over-slf4j/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
<licenses>
2323
<license>
24-
<name>Apache Software Licenses</name>
25-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
24+
<name>Apache-2.0</name>
25+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
2626
</license>
2727
</licenses>
2828

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
<licenses>
1818
<license>
19-
<name>MIT License</name>
20-
<url>http://www.opensource.org/licenses/mit-license.php</url>
19+
<name>MIT</name>
20+
<url>https://opensource.org/license/mit</url>
2121
<distribution>repo</distribution>
2222
</license>
2323
</licenses>

0 commit comments

Comments
 (0)