Skip to content

Commit

Permalink
RestIntegTestTask fails because of missed log4j-core dependency (open…
Browse files Browse the repository at this point in the history
  • Loading branch information
reta authored Dec 28, 2021
1 parent 35dbb48 commit 97f7842
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ static void setupDependencies(Project project, SourceSet sourceSet) {
} else {
project.getDependencies()
.add(sourceSet.getImplementationConfigurationName(), "org.opensearch.test:framework:" + VersionProperties.getOpenSearch());
// The log4j-core is optional dependency of the org.opensearch.test:framework. needs explicit introduction
project.getDependencies()
.add(
sourceSet.getImplementationConfigurationName(),
"org.apache.logging.log4j:log4j-core:" + VersionProperties.getVersions().get("log4j")
);
}

}
Expand Down

0 comments on commit 97f7842

Please sign in to comment.