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

Disable license plugin by default #24742

Merged

Conversation

frant-hartm
Copy link
Contributor

Checklist:

  • Labels (Team:, Type:, Source:, Module:) and Milestone set
  • Label Add to Release Notes or Not Release Notes content set
  • Request reviewers if possible
  • Send backports/forwardports if fix needs to be applied to past/future releases

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file

@frant-hartm frant-hartm force-pushed the cleanup/5.4/disable-license-plugin branch from eb7d1fb to 36afbdf Compare June 6, 2023 12:00
Copy link
Member

@kwart kwart left a comment

Choose a reason for hiding this comment

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

LGTM. We should revert this once the related plugin fix mojohaus/license-maven-plugin#474 is released.

@frant-hartm frant-hartm merged commit 2aa1499 into hazelcast:master Jun 6, 2023
8 checks passed
@JackPGreen JackPGreen mentioned this pull request Aug 29, 2023
JackPGreen added a commit that referenced this pull request Aug 29, 2023
The `org.reactivestreams:reactive-streams:1.0.4` transitive dependency
uses an [MIT-0 licence](https://spdx.org/licenses/MIT-0.html), which was
not specifically allowed in the `license-maven-plugin` configuration.

`reactive-streams` has been on [MIT-0 for a long
time](reactive-streams/reactive-streams-jvm@006202e),
but only since #25284 - where the `S3` client was updated to use new
`reactive-streams` - has this become a problem.

This caused intermittent failures of the PR builder.
This intermittency was presumably caused by the fact that the licence
check [was recently turned
off](#24742) by default for
performance reasons (see comments on the `license.skipAddThirdParty`
property).
Although the original PR builder execution failed the first time with
this error, the second time it passed and was merged - and then caused
more PR builder execution failures on other, unrelated PRs.
Unfortunately I don't have a solution on how to prevent this problem in
future.

As MIT-0 is a less restrictive version of the MIT licence (which is
included), so I've included this also.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants