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 adminconsole@0.0.0<mailto:adminconsole@0.0.0>: No license field [INFO] [1/4] Resolving packages... [ERROR] warning bower@1.8.8<mailto:bower@1.8.8>: 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 gulp-clean@0.2.4<mailto:gulp-clean@0.2.4>: use gulp-rimraf instead [ERROR] warning gulp > gulp-util@3.0.8<mailto:gulp-util@3.0.8>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-autoprefixer > gulp-util@2.2.20<mailto:gulp-util@2.2.20>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-flatten > gulp-util@2.2.20<mailto:gulp-util@2.2.20>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-concat > gulp-util@3.0.8<mailto:gulp-util@3.0.8>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-filter > gulp-util@2.2.20<mailto:gulp-util@2.2.20>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-size > gulp-util@2.2.20<mailto:gulp-util@2.2.20>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-plumber > gulp-util@3.0.8<mailto:gulp-util@3.0.8>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-uglify > gulp-util@2.2.20<mailto:gulp-util@2.2.20>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning gulp-useref > gulp-util@2.2.20<mailto:gulp-util@2.2.20>: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 [ERROR] warning phantomjs@2.1.7<mailto:phantomjs@2.1.7>: Package renamed to phantomjs-prebuilt. Please update 'phantomjs' package references to 'phantomjs-prebuilt' [ERROR] warning gulp-order > minimatch@0.2.14<mailto:minimatch@0.2.14>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning karma > minimatch@0.2.14<mailto:minimatch@0.2.14>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning gulp-load-plugins > globule > minimatch@0.2.14<mailto:minimatch@0.2.14>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning karma > glob > minimatch@0.3.0<mailto:minimatch@0.3.0>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning gulp-cache > lodash-node@2.4.1<mailto:lodash-node@2.4.1>: This package is discontinued. Use lodash@^4.0.0<mailto:lodash@%5e4.0.0>. [ERROR] warning karma > graceful-fs@2.0.3<mailto:graceful-fs@2.0.3>: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js [ERROR] warning gulp-load-plugins > globule > glob > graceful-fs@1.2.3<mailto:graceful-fs@1.2.3>: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js [ERROR] warning gulp-cache > cache-swap > rimraf > graceful-fs@1.2.3<mailto:graceful-fs@1.2.3>: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js [ERROR] warning karma > connect@2.12.0<mailto:connect@2.12.0>: connect 2.x series is deprecated [ERROR] warning phantomjs > request@2.67.0<mailto:request@2.67.0>: request has been deprecated, see https://github.com/request/request/issues/3142 [ERROR] warning protractor > request@2.36.0<mailto:request@2.36.0>: request has been deprecated, see https://github.com/request/request/issues/3142 [ERROR] warning gulp > vinyl-fs > glob-stream > minimatch@2.0.10<mailto:minimatch@2.0.10>: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue [ERROR] warning phantomjs > extract-zip > mkdirp@0.5.0<mailto:mkdirp@0.5.0>: 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 > natives@1.1.6<mailto:natives@1.1.6>: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x<mailto:graceful-fs@4.x>. [ERROR] warning phantomjs > request > tough-cookie@2.2.2<mailto:tough-cookie@2.2.2>: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 [ERROR] warning phantomjs > request > har-validator@2.0.6<mailto:har-validator@2.0.6>: this library is no longer supported [ERROR] warning phantomjs > request > node-uuid@1.4.8<mailto:node-uuid@1.4.8>: Use uuid module instead [ERROR] warning protractor > request > node-uuid@1.4.8<mailto:node-uuid@1.4.8>: Use uuid module instead [ERROR] warning phantomjs > request > hawk@3.1.3<mailto:hawk@3.1.3>: 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 > hawk@1.0.0<mailto:hawk@1.0.0>: 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 > object-keys@0.4.0<mailto:object-keys@0.4.0>: [ERROR] warning phantomjs > request > hawk > hoek@2.16.3<mailto:hoek@2.16.3>: 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 > hoek@0.9.1<mailto:hoek@0.9.1>: 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 > boom@2.10.1<mailto:boom@2.10.1>: 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 > boom@0.4.2<mailto:boom@0.4.2>: 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 > sntp@1.0.9<mailto:sntp@1.0.9>: 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 > sntp@0.2.4<mailto:sntp@0.2.4>: 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 > cryptiles@2.0.5<mailto:cryptiles@2.0.5>: 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 > cryptiles@0.2.2<mailto:cryptiles@0.2.2>: 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 > resolve-url@0.2.1<mailto:resolve-url@0.2.1>: https://github.com/lydell/resolve-url#deprecated [ERROR] warning gulp > liftoff > findup-sync > micromatch > snapdragon > source-map-resolve > urix@0.1.0<mailto:urix@0.1.0>: Please see https://github.com/lydell/urix#deprecated [INFO] [2/4] Fetching packages... [ERROR] warning fsevents@2.3.2<mailto:fsevents@2.3.2>: The platform "linux" is incompatible with this module. [INFO] info "fsevents@2.3.2<mailto:fsevents@2.3.2>" 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