Support Questions

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

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

.