Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MPOM-378] Using an SPDX identifier as the license name is recommended by Maven #118

Merged

Conversation

garydgregory
Copy link
Member

See: https://maven.apache.org/pom.html#Licenses and https://spdx.org/licenses/

(Also: Trying to get the SPDX plugin to pick this up)

@slawekjaranowski
Copy link
Member

fix also in example apache/maven-site#351

@slawekjaranowski
Copy link
Member

@hboutemy
Copy link
Member

@garydgregory if you can just update the commit message to add "[MPOM-378]" prefix, so we have this update tracked in Jira release notes with a clear link to code, please

@garydgregory garydgregory changed the title Using an SPDX identifier as the license name is recommended by Maven [MPOM-378] Using an SPDX identifier as the license name is recommended by Maven Dec 11, 2022
@garydgregory
Copy link
Member Author

@garydgregory if you can just update the commit message to add "[MPOM-378]" prefix, so we have this update tracked in Jira release notes with a clear link to code, please

Done.

Copy link
Member

@hboutemy hboutemy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very good idea, thanks Gary
for one squashing the commit, please update title to point to the Jira issue

@slawekjaranowski slawekjaranowski merged commit 85f0bfc into apache:master Dec 11, 2022
@garydgregory garydgregory deleted the spdx-license-name-per-maven-reco branch December 11, 2022 16:06
dongjoon-hyun added a commit to apache/spark that referenced this pull request Jan 9, 2024
### 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>
dongjoon-hyun added a commit to apache/spark that referenced this pull request Jan 9, 2024
### 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>
dongjoon-hyun added a commit to apache/spark that referenced this pull request Jan 9, 2024
### 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>
szehon-ho pushed a commit to szehon-ho/spark that referenced this pull request Feb 7, 2024
### 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 apache#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants