# Resolve Dependencies Java

## Find the appropriate groupId/artifactId of a specific dependency

Maven lets you download all the needed dependencies. If you need the following classe for instance

import org.apache.hadoop.security.UserGroupInformation;


You need first to find the corresponding groupId (org.apache.hive) and the artifacatId (hive-jdbc)

It may be tricky to find the proper artifactId. As you may see the artifactId hadoop-common is the one that contains the org.apache.hadoop.security package.

You may use the following tool : http://search.maven.org/#advancedsearch

#if you're looking for org.apache.spark.api.java.function.MapFunction