Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

where can i find HDP maven Repos

avatar
New Member

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

avatar
New Member

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.

View solution in original post

4 REPLIES 4

avatar
Super Guru

@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.

avatar
New Member

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].

avatar
New Member

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.