Skip to content

Conversation

@DavideD
Copy link
Member

@DavideD DavideD commented Dec 2, 2025

Backport #2855 (PR #2860) to 4.1

It reminds us which test case is using it, and it also handy
to use it with Spotless:
Spotless ignore pacakge-info.java files, but if we add javadoc
we can create a separate rule for applying the license header.
Hibernate Reactive is using a license header for the
java file that's a little different from the other projects
It seems we don't need them anymor
And `module-info.java`
Spotless ingores package-info.java files (see
diffplug/spotless#532), but we can create
a rule that applies it if the file contains a javadoc.

Not that if the package-info.java doesn't have a javadoc,
it will cause an exception at compile time.
@DavideD DavideD added this to the 4.1.9.Final milestone Dec 2, 2025
@DavideD DavideD added the build Something related to the build label Dec 2, 2025
@hibernate-github-bot hibernate-github-bot bot changed the title [4.1] Update license headers [4.1] [4.1] Update license headers Dec 2, 2025
@DavideD DavideD changed the title [4.1] [4.1] Update license headers [4.1] Update license headers Dec 2, 2025
@DavideD DavideD linked an issue Dec 2, 2025 that may be closed by this pull request
@DavideD DavideD merged commit 5a7cf9b into hibernate:4.1 Dec 2, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.1 build Something related to the build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align file headers on other Hibernate projects

1 participant