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.

cannot build ambari due to "Unresolveable build extension: Error resolving version for plugin 'org.apache.maven.wagon:wagon-ssh-external"

avatar
Rising Star

I am following https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.5.0 to build ambari. I cannot build due to "Unresolveable build extension: Error resolving version for plugin 'org.apache.maven.wagon:wagon-ssh-external'". Any idea? Thanks.

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Lian Jiang

Can you try adding the following entries in your "~/.m2/settings.xml" to see if it allows you to build.

      <settings>
         <mirrors>
            <mirror>
               <id>public</id>
               <mirrorOf>*</mirrorOf>
               <url>http://nexus-private.hortonworks.com/nexus/content/groups/public</url>
            </mirror>
         </mirrors>
     </settings>

.

As i see that maven package here: http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/maven/wagon/wagon-ssh-ex...

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@Lian Jiang

Can you try adding the following entries in your "~/.m2/settings.xml" to see if it allows you to build.

      <settings>
         <mirrors>
            <mirror>
               <id>public</id>
               <mirrorOf>*</mirrorOf>
               <url>http://nexus-private.hortonworks.com/nexus/content/groups/public</url>
            </mirror>
         </mirrors>
     </settings>

.

As i see that maven package here: http://nexus-private.hortonworks.com/nexus/content/groups/public/org/apache/maven/wagon/wagon-ssh-ex...

avatar
Master Mentor

@Lian Jiang

Else you can also try adding the following repo in your "~/.m2/settings.xml"

      <settings>
         <mirrors>
            <mirror>
               <id>public</id>
               <mirrorOf>*</mirrorOf>
               <url>http://repo.hortonworks.com/content/groups/public</url>
            </mirror>
         </mirrors>
     </settings>

As i see it here as well : http://repo.hortonworks.com/content/groups/public/org/apache/maven/wagon/wagon-ssh-external/maven-me...

.