-
Notifications
You must be signed in to change notification settings - Fork 2k
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
RestIntegTestTask fails because of missed log4j-core dependency #1815
Conversation
Can one of the admins verify this patch? |
@saratvemulapalli @dblock the root cause is clear now: the |
❌ Gradle Check failure def1710508c0f56511ab2d6bda20f4b85e7dcd66 |
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's got to be a better fix than this, but YOLO.
…search-project#1815) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
I think with the way the plugin is implemented right now, the fix is fine - single place where the dependencies are set up. But surely, there are other ways to fix that. |
…search-project#1815) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
… (#1818) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
… (#1819) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Andriy Redko andriy.redko@aiven.io
Description
Using opensearch.yaml-rest-test Gradle plugin outside of the OpenSearch core (fe, in plugins), for example yamlRestTest, fails with the following exception:
Since the log4j-core is declared as optional, it is not being picked up. Adding it as an explicit dependency does not solve the problem either (see please opensearch-project/opensearch-plugin-template-java#16 for more details) because the task uses dedicated configuration
yamlRestTestImplementation
and only its dependencies.Issues Resolved
Closes #1814
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.