Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

where can i find HDP maven Repos

Solved Go to solution

where can i find HDP maven Repos

New Contributor

I installed HDP-2.5 by ambari, now i want to use eclipse to delevop my project (project is mavn), so where can i found HDP components maven repositories

1 ACCEPTED SOLUTION

Accepted Solutions

Re: where can i find HDP maven Repos

New Contributor

Add these to your pom.xml or to your Maven to resolve HDP dependencies:

    <repository>
     <releases>
      <enabled>true</enabled>
     </releases>
     <snapshots>
      <enabled>true</enabled>
     </snapshots>
     <id>hortonworks.extrepo</id>
     <name>Hortonworks HDP</name>
     <url>http://repo.hortonworks.com/content/repositories/releases</url>
    </repository>

    <repository>
     <releases>
      <enabled>true</enabled>
     </releases>
     <snapshots>
      <enabled>true</enabled>
     </snapshots>
     <id>hortonworks.other</id>
     <name>Hortonworks Other Dependencies</name>
     <url>http://repo.hortonworks.com/content/groups/public</url>
    </repository>

The first of these is for the main HDP artifacts. These second of these is needed for dependencies like jetty-sslengine.jar:6.1.26.hwx.

4 REPLIES 4

Re: where can i find HDP maven Repos

Super Guru

Re: where can i find HDP maven Repos

@Ye Jun

this is the hortonworks public repo for maven artifects

http://nexus-private.hortonworks.com/nexus/content/groups/public/

add this to you pom.xml

<repository>           

 <id>public</id>           

 <url>http://nexus-private.hortonworks.com/nexus/content/groups/public</url>    

</repository>

get your dependecy from the repo link and add in your maven dependencies.

Re: where can i find HDP maven Repos

New Contributor

I have try to download jars from http://nexus-private.hortonworks.com/nexus/content/groups/public, but it failed. Errors as following : (

404 - Path /org/apache/hadoop/hadoop-auth/2.7.1.2.3.4.0-3347/hadoop-auth-2.7.1.2.3.4.0-3347.BLK not found in group repository "Public Repositories" [id=public].

Path /org/apache/hadoop/hadoop-auth/2.7.1.2.3.4.0-3347/hadoop-auth-2.7.1.2.3.4.0-3347.BLK not found in group repository "Public Repositories" [id=public].

Re: where can i find HDP maven Repos

New Contributor

Add these to your pom.xml or to your Maven to resolve HDP dependencies:

    <repository>
     <releases>
      <enabled>true</enabled>
     </releases>
     <snapshots>
      <enabled>true</enabled>
     </snapshots>
     <id>hortonworks.extrepo</id>
     <name>Hortonworks HDP</name>
     <url>http://repo.hortonworks.com/content/repositories/releases</url>
    </repository>

    <repository>
     <releases>
      <enabled>true</enabled>
     </releases>
     <snapshots>
      <enabled>true</enabled>
     </snapshots>
     <id>hortonworks.other</id>
     <name>Hortonworks Other Dependencies</name>
     <url>http://repo.hortonworks.com/content/groups/public</url>
    </repository>

The first of these is for the main HDP artifacts. These second of these is needed for dependencies like jetty-sslengine.jar:6.1.26.hwx.