Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

where can i find HDP maven Repos

avatar
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

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

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

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