Skip to content

Commit

Permalink
[SPARK-46628][INFRA] Use SPDX short identifier in license name
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR aims to use SPDX short identifier as `license`'s `name` field.

- https://spdx.org/licenses/Apache-2.0.html

### Why are the changes needed?

SPDX short identifier is recommended as `name` field by `Apache Maven`.
- https://maven.apache.org/pom.html#Licenses

ASF pom file has been using it. This PR aims to match with ASF pom file.
- apache/maven-apache-parent#118
- https://github.com/apache/maven-apache-parent/blob/7888bdb8ee653ecc03b5fee136540a607193c240/pom.xml#L46
```
<name>Apache-2.0</name>
```

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manual review.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #44631 from dongjoon-hyun/SPARK-46628.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit d008f81)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
  • Loading branch information
dongjoon-hyun committed Jan 9, 2024
1 parent fe22ec7 commit 75b567d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<url>https://spark.apache.org/</url>
<licenses>
<license>
<name>Apache 2.0 License</name>
<name>Apache-2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
Expand Down

0 comments on commit 75b567d

Please sign in to comment.