Skip to content

Fix licence declared in pom.xml and cleanup LICENSE.txt - #30

Merged
sylvestre merged 1 commit into
opencollab:masterfrom
danilovesky:fix-license-inconsistency
Nov 18, 2026
Merged

sylvestre merged 1 commit into
opencollab:masterfrom
danilovesky:fix-license-inconsistency

Conversation

@danilovesky

Copy link
Copy Markdown
Contributor

The pom declared Apache License 2.0, while LICENSE.txt and the source file headers are MIT. This declares MIT in the pom so the project states one licence, so I fixed it in pom.xml.

LICENSE.txt also ended with an Apache Software Foundation attribution. It was added together with the switch to Apache Commons Logging, which is no longer used, and no Apache-licensed code is bundled, so I removed it.

@sylvestre I would go one step further and remove the MIT text from every source file header and kept it only in LICENSE.txt. The only third-party notice in the sources is the JGoodies BSD-3-clause header SimpleInternalFrame.java - that would stay in its file. I can prepare this change if you approve - quite a bit of grepping...

The pom declared Apache License 2.0, while LICENSE.txt and the source
headers are MIT. Declare MIT in the pom.

Drop the Apache attribution from LICENSE.txt: it was added together
with the switch to Apache Commons Logging, which is no longer used,
and no Apache-licensed code is bundled.

Closes opencollab#28
@mergify

mergify Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

This pull request is merged.

@sylvestre
sylvestre merged commit defb301 into opencollab:master Nov 18, 2026
7 checks passed
@sylvestre

Copy link
Copy Markdown
Contributor

Thanks for your PR

@danilovesky
danilovesky deleted the fix-license-inconsistency branch November 18, 2026 13:00
@danilovesky

Copy link
Copy Markdown
Contributor Author

@sylvestre What do you think about the idea of keeping the licence in LICENSE.txt only (as a single source of truth), and removing license header from the source files?

@sylvestre

Copy link
Copy Markdown
Contributor

@danilovesky i would prefer we leave it this way. there isn't anything to gain here

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.

2 participants