Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25968

Fails to compile ambari-admin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0
    • None
    • None

    Description

      [root@bigtop1 ambari-admin]# mvn package -DskipTests
      [INFO] Scanning for projects...
      [INFO]
      [INFO] -------------------< org.apache.ambari:ambari-admin >-------------------
      [INFO] Building Ambari Admin View 3.0.0.0-SNAPSHOT
      [INFO]   from pom.xml
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO]
      [INFO] --- build-helper:1.8:regex-property (parse-package-version) @ ambari-admin ---
      [INFO]
      [INFO] --- build-helper:1.8:regex-property (parse-package-release) @ ambari-admin ---
      [INFO]
      [INFO] --- build-helper:1.8:parse-version (parse-version) @ ambari-admin ---
      [INFO]
      [INFO] --- build-helper:1.8:regex-property (regex-property) @ ambari-admin ---
      [INFO]
      [INFO] --- enforcer:3.0.0-M2:enforce (enforce-maven-version) @ ambari-admin ---
      [INFO]
      [INFO] --- enforcer:3.0.0-M2:enforce (enforce-versions) @ ambari-admin ---
      [INFO]
      [INFO] --- frontend:1.3:install-node-and-npm (install node and npm) @ ambari-admin ---
      [INFO] Node v4.5.0 is already installed.
      [INFO] NPM 2.15.0 is already installed.
      [INFO]
      [INFO] --- frontend:1.3:npm (npm install) @ ambari-admin ---
      [INFO] npm not inheriting proxy config from Maven
      [INFO] Running 'npm install --unsafe-perm' in /root/ambari/ambari/ambari-admin/src/main/resources/ui/admin-web
      [WARNING] npm WARN package.json adminconsole@0.0.0 No description
      [WARNING] npm WARN package.json adminconsole@0.0.0 No repository field.
      [WARNING] npm WARN package.json adminconsole@0.0.0 No README data
      [WARNING] npm WARN package.json adminconsole@0.0.0 No license field.
      [INFO]
      [INFO] --- exec:1.2.1:exec (Bower install) @ ambari-admin ---
      bower angular-route#*     ECONNREFUSED Request to https://bower.herokuapp.com/packages/angular-route failed: connect ECONNREFUSED 66.220.146.94:443
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  18.046 s
      [INFO] Finished at: 2023-07-19T14:51:49+08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (Bower install) on project ambari-admin: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      

      The reason is that https://bower.herokuapp.com/ is deprecated, new registry address is https://registry.bower.io

      Attachments

        Issue Links

          Activity

            People

              yaolei Lei Yao
              yaolei Lei Yao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m