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

[NO-ISSUE] mvel.jj license #6164

Merged
merged 3 commits into from
Nov 20, 2024
Merged

[NO-ISSUE] mvel.jj license #6164

merged 3 commits into from
Nov 20, 2024

Conversation

tkobayas
Copy link
Contributor

@tkobayas tkobayas commented Nov 20, 2024

mvel.jj was taken from https://github.com/javaparser/javaparser/blob/master/javaparser-core/src/main/javacc/java.jj

According to https://issues.apache.org/jira/browse/LEGAL-594 and https://www.apache.org/legal/resolved.html#mutually-exclusive , state which license you are using and include only the license that you have chosen.

It's not clear to me how to "state". I have added the file path drools-model/drools-mvel-parser/src/main/javacc/mvel.jj and the statement JavaParser is under dual license. Apache License Version 2.0 is chosen for mvel.jj, and pasted the content of https://github.com/javaparser/javaparser/blob/master/LICENSE

As the LICENSE says "For details about the Apache License please refer to LICENSE.APACHE", I keep LICENSE.APACHE at https://github.com/apache/incubator-kie-drools/blob/main/drools-model/drools-mvel-parser/LICENSE.APACHE

@tkobayas
Copy link
Contributor Author

@pjfanning Could you kindly review how to deal with dual license?

LICENSE Outdated
JavaParser is under dual license. Apache License Version 2.0 is chosen for mvel.jj

JavaParser is available either under the terms of the LGPL License or the Apache License. You as the user are entitled to choose the terms under which to adopt JavaParser.

Choose a reason for hiding this comment

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

I would omit the text from line 252 to line 257 since we choose Apache License as it suits our needs.

LICENSE Outdated
------------------------------------------------------------------------------------
for drools-model/drools-mvel-parser/src/main/javacc/mvel.jj
JavaParser is under dual license. Apache License Version 2.0 is chosen for mvel.jj

Choose a reason for hiding this comment

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

I would suggest:

JavaParser is dual licensed under LGPL license. and Apache License Version 2.0 license. We choose the Apache License Version 2.0.

@tkobayas
Copy link
Contributor Author

@pjfanning Thank you! Applied the suggestions.

LICENSE Outdated
JavaParser is dual licensed under LGPL license. and Apache License Version 2.0 license. We choose the Apache License Version 2.0.

Choose a reason for hiding this comment

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

Issue with full stop after 'LGPL license'. Can you remove that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pjfanning Sure, thanks.

Copy link

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

Lgtm

@porcelli porcelli merged commit c58ee42 into apache:main Nov 20, 2024
2 checks passed
tkobayas added a commit to tkobayas/drools that referenced this pull request Nov 21, 2024
* [NO-ISSUE] mvel.jj license

* - adjust words

* - fixed a period
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.

3 participants