Hi, all, The following occurs with a new setup and attempt to build. If these 'replace it' messages are here still, after the years have passed since these messages were introduced, why were they not resolved before 2.7.6 was offered for use? I ran with rat.skip as (apparently) the entire collective of ambari-views has no license and all these throw a fail early on in the build.
Eg., The link to 'how to migrate away from bower' makes references to using 'yarn' was written 5 years ago. (I assume this is NOT mapreduce yarn but some other yarn with the same name) Apologies if these questions have been asked but I can find no adequate resolution threads anywhere. [ERROR] warning [email protected]<mailto:[email protected]>: No license field [INFO] [1/4] Resolving packages... [ERROR] warning [email protected]<mailto:[email protected]>: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/ [ERROR] warning [email protected]<mailto:[email protected]>: use gulp-rimraf instead [ERROR] warning gulp > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-autoprefixer > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-flatten > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-concat > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-filter > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-size > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-plumber > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-uglify > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-useref > [email protected]<mailto:[email protected]>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning [email protected]<mailto:[email protected]>: Package renamed to phantomjs-prebuilt. Please update 'phantomjs' package references to 'phantomjs-prebuilt' [ERROR] warning gulp-order > [email protected]<mailto:[email protected]>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning karma > [email protected]<mailto:[email protected]>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning gulp-load-plugins > globule > [email protected]<mailto:[email protected]>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning karma > glob > [email protected]<mailto:[email protected]>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning gulp-cache > [email protected]<mailto:[email protected]>: This package is discontinued. Use lodash@^4.0.0<mailto:lodash@%5e4.0.0>. [ERROR] warning karma > [email protected]<mailto:[email protected]>: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js [ERROR] warning gulp-load-plugins > globule > glob > [email protected]<mailto:[email protected]>: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js [ERROR] warning gulp-cache > cache-swap > rimraf > [email protected]<mailto:[email protected]>: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js [ERROR] warning karma > [email protected]<mailto:[email protected]>: connect 2.x series is deprecated [ERROR] warning phantomjs > [email protected]<mailto:[email protected]>: request has been deprecated, see https://github.com/request/request/issues/3142 [ERROR] warning protractor > [email protected]<mailto:[email protected]>: request has been deprecated, see https://github.com/request/request/issues/3142 [ERROR] warning gulp > vinyl-fs > glob-stream > [email protected]<mailto:[email protected]>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning phantomjs > extract-zip > [email protected]<mailto:[email protected]>: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) [ERROR] warning gulp > vinyl-fs > graceful-fs > [email protected]<mailto:[email protected]>: This module relies on Node.js's internals and will break at some point. Do not use it, and update to [email protected]<mailto:[email protected]>. [ERROR] warning phantomjs > request > [email protected]<mailto:[email protected]>: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 [ERROR] warning phantomjs > request > [email protected]<mailto:[email protected]>: this library is no longer supported [ERROR] warning phantomjs > request > [email protected]<mailto:[email protected]>: Use uuid module instead [ERROR] warning protractor > request > [email protected]<mailto:[email protected]>: Use uuid module instead [ERROR] warning phantomjs > request > [email protected]<mailto:[email protected]>: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. [ERROR] warning protractor > request > [email protected]<mailto:[email protected]>: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. [ERROR] warning gulp-flatten > through2 > xtend > [email protected]<mailto:[email protected]>: [ERROR] warning phantomjs > request > hawk > [email protected]<mailto:[email protected]>: This version has been deprecated in accordance with the hapi support policy (hapi.im/support<http://hapi.im/support>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial<http://hapi.im/commercial>). [ERROR] warning protractor > request > hawk > [email protected]<mailto:[email protected]>: This version has been deprecated in accordance with the hapi support policy (hapi.im/support<http://hapi.im/support>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial<http://hapi.im/commercial>). [ERROR] warning phantomjs > request > hawk > [email protected]<mailto:[email protected]>: This version has been deprecated in accordance with the hapi support policy (hapi.im/support<http://hapi.im/support>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial<http://hapi.im/commercial>). [ERROR] warning protractor > request > hawk > [email protected]<mailto:[email protected]>: This version has been deprecated in accordance with the hapi support policy (hapi.im/support<http://hapi.im/support>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial<http://hapi.im/commercial>). [ERROR] warning phantomjs > request > hawk > [email protected]<mailto:[email protected]>: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. [ERROR] warning protractor > request > hawk > [email protected]<mailto:[email protected]>: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. [ERROR] warning phantomjs > request > hawk > [email protected]<mailto:[email protected]>: This version has been deprecated in accordance with the hapi support policy (hapi.im/support<http://hapi.im/support>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial<http://hapi.im/commercial>). [ERROR] warning protractor > request > hawk > [email protected]<mailto:[email protected]>: This version has been deprecated in accordance with the hapi support policy (hapi.im/support<http://hapi.im/support>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial<http://hapi.im/commercial>). [ERROR] warning gulp > liftoff > findup-sync > micromatch > snapdragon > source-map-resolve > [email protected]<mailto:[email protected]>: https://github.com/lydell/resolve-url#deprecated [ERROR] warning gulp > liftoff > findup-sync > micromatch > snapdragon > source-map-resolve > [email protected]<mailto:[email protected]>: Please see https://github.com/lydell/urix#deprecated [INFO] [2/4] Fetching packages... [ERROR] warning [email protected]<mailto:[email protected]>: The platform "linux" is incompatible with this module. [INFO] info "[email protected]<mailto:[email protected]>" is an optional dependency and failed compatibility check. Excluding it from installation. [INFO] [3/4] Linking dependencies... [INFO] [4/4] Building fresh packages... [INFO] Done in 24.21s. [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (Bower install) @ ambari-admin --- bower bootstrap#3.3.7 ENOGIT git is not installed or not in the PATH [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Ambari Main 2.7.6.0.0 .............................. SUCCESS [ 0.527 s] [INFO] Apache Ambari Project POM 2.7.6.0.0 ................ SUCCESS [ 0.008 s] [INFO] Ambari Web 2.7.6.0.0 ............................... SUCCESS [01:16 min] [INFO] Ambari Views 2.7.6.0.0 ............................. SUCCESS [ 1.102 s] [INFO] Ambari Admin View 2.7.6.0.0 ........................ FAILURE [ 25.125 s] [INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SKIPPED [INFO] ambari-metrics 2.7.6.0.0 ........................... SKIPPED [INFO] Ambari Metrics Common 2.7.6.0.0 .................... SKIPPED [INFO] Ambari Metrics Hadoop Sink 2.7.6.0.0 ............... SKIPPED [INFO] Ambari Metrics Flume Sink 2.7.6.0.0 ................ SKIPPED [INFO] Ambari Metrics Kafka Sink 2.7.6.0.0 ................ SKIPPED [INFO] Ambari Metrics Storm Sink 2.7.6.0.0 ................ SKIPPED [INFO] Ambari Metrics Storm Sink (Legacy) 2.7.6.0.0 ....... SKIPPED [INFO] Ambari Metrics Collector 2.7.6.0.0 ................. SKIPPED [INFO] Ambari Metrics Monitor 2.7.6.0.0 ................... SKIPPED [INFO] Ambari Metrics Grafana 2.7.6.0.0 ................... SKIPPED [INFO] Ambari Metrics Host Aggregator 2.7.6.0.0 ........... SKIPPED [INFO] Ambari Metrics Assembly 2.7.6.0.0 .................. SKIPPED [INFO] Ambari Service Advisor 1.0.0.0-SNAPSHOT ............ SKIPPED [INFO] Ambari Server 2.7.6.0.0 ............................ SKIPPED [INFO] Ambari Functional Tests 2.7.6.0.0 .................. SKIPPED [INFO] Ambari Agent 2.7.6.0.0 ............................. SKIPPED [INFO] ambari-logsearch 2.7.6.0.0 ......................... SKIPPED [INFO] Ambari Logsearch Appender 2.7.6.0.0 ................ SKIPPED [INFO] Ambari Logsearch Config Api 2.7.6.0.0 .............. SKIPPED [INFO] Ambari Logsearch Config JSON 2.7.6.0.0 ............. SKIPPED [INFO] Ambari Logsearch Config Solr 2.7.6.0.0 ............. SKIPPED [INFO] Ambari Logsearch Config Zookeeper 2.7.6.0.0 ........ SKIPPED [INFO] Ambari Logsearch Config Local 2.7.6.0.0 ............ SKIPPED [INFO] Ambari Logsearch Log Feeder Plugin Api 2.7.6.0.0 ... SKIPPED [INFO] Ambari Logsearch Log Feeder Container Registry 2.7.6.0.0 SKIPPED [INFO] Ambari Logsearch Log Feeder 2.7.6.0.0 .............. SKIPPED [INFO] Ambari Logsearch Web 2.7.6.0.0 ..................... SKIPPED [INFO] Ambari Logsearch Server 2.7.6.0.0 .................. SKIPPED [INFO] Ambari Logsearch Assembly 2.7.6.0.0 ................ SKIPPED [INFO] Ambari Logsearch Integration Test 2.7.6.0.0 ........ SKIPPED [INFO] ambari-infra 2.7.6.0.0 ............................. SKIPPED [INFO] Ambari Infra Solr Client 2.7.6.0.0 ................. SKIPPED [INFO] Ambari Infra Solr Plugin 2.7.6.0.0 ................. SKIPPED [INFO] Ambari Infra Manager 2.7.6.0.0 ..................... SKIPPED [INFO] Ambari Infra Assembly 2.7.6.0.0 .................... SKIPPED [INFO] Ambari Infra Manager Integration Tests 2.7.6.0.0 ... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:43 min [INFO] Finished at: 2021-12-14T12:21:13+01: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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :ambari-admin
