[ https://issues.apache.org/jira/browse/RANGER-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519322#comment-17519322 ]
Bhavik Patel commented on RANGER-3654: -------------------------------------- [~kirbyzhou] I think this dependency required at run time. You can test plugin by removing the dependency. > Remove "org.elasticsearch" dependencies from "plugin-elasticsearch/pom.xml" > --------------------------------------------------------------------------- > > Key: RANGER-3654 > URL: https://issues.apache.org/jira/browse/RANGER-3654 > Project: Ranger > Issue Type: Improvement > Components: plugins > Reporter: kirby zhou > Priority: Minor > > I have not found any code refs org.elasticsearch classes inside > plugin-elasticsearch. And elasticsearch doesn't look like some kind of java > service provider like logger or xml. > It seems that the following codelet should be removed from > plugin-elasticsearch/pom.xml > {code:java} > <dependency> > <groupId>org.elasticsearch</groupId> > <artifactId>elasticsearch</artifactId> > <version>${elasticsearch.version}</version> > <scope>provided</scope> > <exclusions> > <exclusion> > <groupId>org.apache.logging.log4j</groupId> > <artifactId>*</artifactId> > </exclusion> > </exclusions> > </dependency> > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)