[
https://issues.apache.org/jira/browse/AMBARI-23712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456761#comment-16456761
]
Shane Thomas commented on AMBARI-23712:
---------------------------------------
{code:java}
[sthomas@hp380-1 apache-ambari-2.6.1-src]$ mvn -B -e clean install rpm:rpm
-DnewVersion=2.6.1.0.0 -DskipTests -Dpython.ver="python >= 2.6"
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-web:pom:2.6.1.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.codehaus.mojo:exec-maven-plugin @ line 161,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-admin:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:exec-maven-plugin is missing. @ line 91, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-common:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin
@ org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 168,
column 15
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.codehaus.mojo:build-helper-maven-plugin @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 201,
column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-hadoop-sink:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-flume-sink:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-kafka-sink:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-storm-sink:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-storm-sink-legacy:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-timelineservice:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ line 252, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-host-monitoring:pom:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:exec-maven-plugin is missing. @ line 86, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ line 110, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-grafana:pom:2.1.0.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ line 64, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics-assembly:pom:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 281,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @
org.apache.ambari:ambari-metrics:2.6.1.0.0,
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-metrics/pom.xml, line 186,
column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-metrics:pom:2.6.1.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin
@ line 168, column 15
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.codehaus.mojo:build-helper-maven-plugin @
line 201, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin
is missing. @ line 281, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-clean-plugin is missing. @ line 186, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-server:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @
line 616, column 15
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @
line 652, column 15
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.codehaus.mojo:exec-maven-plugin @ line 740,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:properties-maven-plugin is missing. @ line 389, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-funtest:jar:2.6.1.0.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
be unique: org.apache.httpcomponents:httpclient:jar -> version 4.2.5 vs 4.5.2 @
line 559, column 17
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-failsafe-plugin is missing. @ line 52, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-agent:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:properties-maven-plugin is missing. @ line 205, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.ambari:ambari-logsearch-it:jar:2.6.1.0.0
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-failsafe-plugin is missing. @
org.apache.ambari:ambari-logsearch-it:[unknown-version],
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-logsearch/ambari-logsearch-it/pom.xml,
line 106, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Ambari Main [pom]
[INFO] Apache Ambari Project POM [pom]
[INFO] Ambari Web [pom]
[INFO] Ambari Views [jar]
[INFO] Ambari Admin View [jar]
[INFO] utility [jar]
[INFO] ambari-metrics [pom]
[INFO] Ambari Metrics Common [jar]
[INFO] Ambari Metrics Hadoop Sink [jar]
[INFO] Ambari Metrics Flume Sink [jar]
[INFO] Ambari Metrics Kafka Sink [jar]
[INFO] Ambari Metrics Storm Sink [jar]
[INFO] Ambari Metrics Storm Sink (Legacy) [jar]
[INFO] Ambari Metrics Collector [jar]
[INFO] Ambari Metrics Monitor [pom]
[INFO] Ambari Metrics Grafana [pom]
[INFO] Ambari Metrics Assembly [pom]
[INFO] Ambari Server [jar]
[INFO] Ambari Functional Tests [jar]
[INFO] Ambari Agent [jar]
[INFO] Ambari Client [pom]
[INFO] Ambari Python Client [pom]
[INFO] Ambari Groovy Client [jar]
[INFO] Ambari Shell [pom]
[INFO] Ambari Python Shell [pom]
[INFO] Ambari Groovy Shell [jar]
[INFO] ambari-logsearch [pom]
[INFO] Ambari Logsearch Appender [jar]
[INFO] Ambari Logsearch Portal [jar]
[INFO] Ambari Logsearch Log Feeder [jar]
[INFO] Ambari Logsearch Solr Client [jar]
[INFO] Ambari Infra Solr Plugin [jar]
[INFO] Ambari Logsearch Assembly [jar]
[INFO] Ambari Logsearch Integration Test [jar]
[INFO]
[INFO] ----------------------< org.apache.ambari:ambari >----------------------
[INFO] Building Ambari Main 2.6.1.0.0 [1/34]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ambari ---
[INFO] Deleting /home/sthomas/ambari/apache-ambari-2.6.1-src/target
[INFO] Deleting /home/sthomas/ambari/apache-ambari-2.6.1-src (includes =
[**/*.pyc], excludes = [])
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-version)
@ ambari ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-release)
@ ambari ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (default) @ ambari ---
[INFO] 62 implicit excludes (use -debug for more details).
[INFO] Exclude: **/repo_*.j2
[INFO] Exclude: **/ambari-log4j.spec
[INFO] Exclude: **/version.txt
[INFO] Exclude: **/release.txt
[INFO] Exclude: **/*.list
[INFO] Exclude: **/hdp_mon_nagios_addons.conf
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.svg
[INFO] Exclude: derby.log
[INFO] Exclude: CHANGES.txt
[INFO] Exclude: pass.txt
[INFO] Exclude:
ambari-metrics/ambari-metrics-host-monitoring/conf/unix/metric_groups.conf
[INFO] Exclude:
ambari-metrics/ambari-metrics-host-monitoring/conf/windows/metric_groups.conf
[INFO] Exclude:
contrib/addons/test/dataServices/jmx/data/cluster_configuration.json.nohbase
[INFO] Exclude: contrib/ambari-scom/msi/src/GUI_Ambari.sln
[INFO] Exclude: contrib/fast-hdfs-resource/dependency-reduced-pom.xml
[INFO] Exclude: contrib/agent-simulator/docker_image/package_list.txt
[INFO] Exclude: contrib/agent-simulator/config/cluster.txt
[INFO] Exclude: version
[INFO] Exclude: **/target/surefire-reports/
[INFO] Exclude: **/.idea/
[INFO] Exclude: **/.classpath/
[INFO] Exclude: **/.project/
[INFO] Exclude: **/.settings/
[INFO] Exclude: .git/
[INFO] Exclude: .pydevproject
[INFO] Exclude: **/.gitignore
[INFO] Exclude: **/.gitattributes
[INFO] Exclude: **/.gitkeep
[INFO] Exclude: **/.jshintrc
[INFO] Exclude: **/.editorconfig
[INFO] Exclude: .DS_Store
[INFO] Exclude: **/*.iml
[INFO] Exclude: *.pyc
[INFO] Exclude: *.py~
[INFO] Exclude: .hg
[INFO] Exclude: .hgignore
[INFO] Exclude: .hgtags
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: **/robots.txt
[INFO] Exclude: **/rat.txt
[INFO] Exclude: ambari-common/src/test/python/mock/**
[INFO] Exclude: ambari-common/src/main/python/ambari_jinja2/**
[INFO] Exclude: ambari-common/src/main/python/jinja2/**
[INFO] Exclude: ambari-common/src/main/python/ambari_simplejson/**
[INFO] Exclude: ambari-web/node_modules/**
[INFO] Exclude: contrib/ambari-scom/management-pack/Hadoop_MP/**
[INFO] Exclude:
contrib/addons/test/dataServices/jmx/data/cluster_configuration.json.nohbase
[INFO] Exclude: contrib/ambari-scom/msi/src/GUI_Ambari.sln
[INFO] Exclude: contrib/ambari-scom/ambari-scom-server/pass.txt
[INFO] Exclude: contrib/ambari-scom/*/rat.txt
[INFO] Exclude: contrib/ambari-scom/metrics-sink/target/**
[INFO] Exclude: contrib/views/*/target/**
[INFO] Exclude: contrib/views/commons/src/main/resources/ui/*/.bowerrc
[INFO] Exclude:
contrib/views/commons/src/main/resources/ui/*/bower_components/**
[INFO] Exclude: contrib/views/commons/src/main/resources/ui/*/node/**
[INFO] Exclude: contrib/views/commons/src/main/resources/ui/*/node_modules/**
[INFO] Exclude: contrib/views/commons/src/main/resources/ui/*/public/**
[INFO] Exclude: contrib/views/commons/src/main/resources/ui/*/vendor/**
[INFO] Exclude: contrib/views/commons/src/main/resources/ui/*/tests/**/public/**
[INFO] Exclude: contrib/views/commons/src/main/resources/ui/*/tests/**/vendor/**
[INFO] Exclude:
contrib/views/hive-next/src/main/resources/ui/hive-web/vendor/codemirror/**
[INFO] Exclude: contrib/views/hive-next/src/main/resources/ui/hive-web/.bowerrc
[INFO] Exclude: contrib/views/hive20/src/main/resources/ui/vendor/codemirror/**
[INFO] Exclude: contrib/views/hive20/src/main/resources/ui/.bowerrc
[INFO] Exclude:
contrib/views/hive20/src/main/resources/ui/public/fonts/roboto/**
[INFO] Exclude: contrib/views/files/src/main/resources/ui/.bowerrc
[INFO] Exclude: contrib/views/files/src/main/resources/ui/bower_components/**
[INFO] Exclude: contrib/views/files/src/main/resources/ui/node/**
[INFO] Exclude: contrib/views/files/src/main/resources/ui/node_modules/**
[INFO] Exclude: contrib/views/files/src/main/resources/ui/public/**
[INFO] Exclude: contrib/views/files/src/main/resources/ui/vendor/**
[INFO] Exclude: contrib/views/files/src/main/resources/ui/runner.js
[INFO] Exclude:
contrib/views/files/src/main/resources/ui/app/assets/stylesheets/**
[INFO] Exclude:
contrib/views/files/src/main/resources/ui/app/assets/javascripts/**
[INFO] Exclude: contrib/views/jobs/src/main/resources/ui/.tmp/**
[INFO] Exclude: contrib/views/jobs/src/main/resources/ui/**/bower_components/**
[INFO] Exclude: contrib/views/jobs/src/main/resources/ui/dist/**
[INFO] Exclude: contrib/views/jobs/src/main/resources/ui/node/**
[INFO] Exclude: contrib/views/jobs/src/main/resources/ui/node_modules/**
[INFO] Exclude: contrib/views/jobs/src/main/resources/ui/**/.bowerrc
[INFO] Exclude: contrib/views/pig/src/main/resources/ui/pig-web/public/**
[INFO] Exclude: contrib/views/pig/src/main/resources/ui/pig-web/node_modules/**
[INFO] Exclude: contrib/views/pig/src/main/resources/ui/pig-web/node/**
[INFO] Exclude:
contrib/views/pig/src/main/resources/ui/pig-web/bower_components/**
[INFO] Exclude: contrib/views/pig/src/main/resources/ui/pig-web/vendor/**
[INFO] Exclude:
contrib/views/pig/src/main/resources/ui/pig-web/app/assets/static/stylesheets/**
[INFO] Exclude:
contrib/views/pig/src/main/resources/ui/pig-web/app/assets/static/javascripts/**
[INFO] Exclude: contrib/views/pig/src/main/resources/ui/pig-web/runner.js
[INFO] Exclude: contrib/views/slider/src/main/resources/ui/public/**
[INFO] Exclude: contrib/views/slider/src/main/resources/ui/node_modules/**
[INFO] Exclude: contrib/views/slider/src/main/resources/ui/vendor/**
[INFO] Exclude:
contrib/views/slider/src/main/resources/ui/app/assets/stylesheets/**
[INFO] Exclude:
contrib/views/slider/src/main/resources/ui/app/assets/javascripts/**
[INFO] Exclude: contrib/views/slider/src/main/resources/ui/bower_components/**
[INFO] Exclude: contrib/views/slider/src/main/resources/ui/runner.js
[INFO] Exclude: contrib/views/storm/src/main/resources/ui/.*
[INFO] Exclude: contrib/views/storm/src/main/resources/ui/node_modules/**
[INFO] Exclude: contrib/views/storm/src/main/resources/ui/public/**
[INFO] Exclude: contrib/views/storm/src/main/resources/ui/app/styles/**
[INFO] Exclude: contrib/addons/package/deb/nagios_addon_deb_control
[INFO] Exclude:
contrib/addons/src/addOns/nagios/conf.d/hdp_mon_nagios_addons.conf
[INFO] Exclude: contrib/views/*/.classpath
[INFO] Exclude: contrib/views/*/.project
[INFO] Exclude: contrib/views/*/.settings/**
[INFO] Exclude: contrib/views/capacity-scheduler/src/main/resources/ui/app/**
[INFO] Exclude: contrib/views/capacity-scheduler/src/main/resources/ui/runner.js
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/.bowerrc
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/bower_components/**
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/node/**
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/node_modules/**
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/public/**
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/vendor/**
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/runner.js
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/assets/stylesheets/**
[INFO] Exclude:
contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/assets/javascripts/**
[INFO] Exclude: contrib/ambari-scom/ambari-scom-server/pass.txt
[INFO] Exclude: contrib/ambari-scom/ambari-scom-server/target/**
[INFO] Exclude: contrib/ambari-scom/*/rat.txt
[INFO] Exclude: contrib/ambari-scom/metrics-sink/target/**
[INFO] Exclude: **/velocity.log*
[INFO] Exclude: ambari-metrics/ambari-metrics-grafana/conf/unix/ams-grafana.ini
[INFO] Exclude: ambari-metrics/target/**
[INFO] Exclude:
ambari-metrics/ambari-metrics-host-monitoring/src/main/python/psutil/**
[INFO] Exclude:
ambari-metrics/target/rpm/ambari-metrics/SPECS/ambari-metrics.spec
[INFO] Exclude:
ambari-metrics/ambari-metrics-timelineservice/src/test/resources/lib/org/apache/phoenix/phoenix-core-tests/4.2.0/phoenix-core-tests-4.2.0.pom
[INFO] Exclude:
ambari-metrics/ambari-metrics-timelineservice/src/test/resources/lib/org/apache/phoenix/phoenix-core-tests/maven-metadata-local.xml
[INFO] Exclude: ambari-metrics/*/target/**
[INFO] Exclude: ambari-metrics/**/.*/**
[INFO] Exclude: **/createDDL.jdbc
[INFO] Exclude: **/yarn.lock
[INFO] 3018 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0
approved: 2955 licence.
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-5:single (make-assembly) @ ambari ---
[INFO] Reading assembly descriptor:
/home/sthomas/ambari/apache-ambari-2.6.1-src/ambari-project/src/main/assemblies/empty.xml
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ ambari ---
[INFO] Installing /home/sthomas/ambari/apache-ambari-2.6.1-src/pom.xml to
/home/sthomas/.m2/repository/org/apache/ambari/ambari/2.6.1.0.0/ambari-2.6.1.0.0.pom
[INFO]
[INFO] --- rpm-maven-plugin:2.0.1:rpm (default-cli) @ ambari ---
[INFO] Creating directory
/home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari
[INFO] Creating directory
/home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/BUILD
[INFO] Creating directory
/home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/RPMS
[INFO] Creating directory
/home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/SOURCES
[INFO] Creating directory
/home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/SPECS
[INFO] Creating directory
/home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/SRPMS
[INFO] Creating directory
/home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/buildroot
[INFO] Creating spec file
/home/sthomas/ambari/apache-ambari-2.6.1-src/target/rpm/ambari/SPECS/ambari.spec
[WARNING] /bin/sh: rpmbuild: command not found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main 2.6.1.0.0 .............................. FAILURE [ 5.154 s]
[INFO] Apache Ambari Project POM .......................... SKIPPED
[INFO] Ambari Web ......................................... SKIPPED
[INFO] Ambari Views ....................................... SKIPPED
[INFO] Ambari Admin View .................................. SKIPPED
[INFO] utility 1.0.0.0-SNAPSHOT ........................... SKIPPED
[INFO] ambari-metrics ..................................... SKIPPED
[INFO] Ambari Metrics Common .............................. SKIPPED
[INFO] Ambari Metrics Hadoop Sink ......................... SKIPPED
[INFO] Ambari Metrics Flume Sink .......................... SKIPPED
[INFO] Ambari Metrics Kafka Sink .......................... SKIPPED
[INFO] Ambari Metrics Storm Sink .......................... SKIPPED
[INFO] Ambari Metrics Storm Sink (Legacy) ................. SKIPPED
[INFO] Ambari Metrics Collector ........................... SKIPPED
[INFO] Ambari Metrics Monitor ............................. SKIPPED
[INFO] Ambari Metrics Grafana 2.1.0.0.0 ................... SKIPPED
[INFO] Ambari Metrics Assembly ............................ SKIPPED
[INFO] Ambari Server ...................................... SKIPPED
[INFO] Ambari Functional Tests ............................ SKIPPED
[INFO] Ambari Agent ....................................... SKIPPED
[INFO] Ambari Client ...................................... SKIPPED
[INFO] Ambari Python Client ............................... SKIPPED
[INFO] Ambari Groovy Client ............................... SKIPPED
[INFO] Ambari Shell ....................................... SKIPPED
[INFO] Ambari Python Shell ................................ SKIPPED
[INFO] Ambari Groovy Shell ................................ SKIPPED
[INFO] ambari-logsearch ................................... SKIPPED
[INFO] Ambari Logsearch Appender .......................... SKIPPED
[INFO] Ambari Logsearch Portal ............................ SKIPPED
[INFO] Ambari Logsearch Log Feeder ........................ SKIPPED
[INFO] Ambari Logsearch Solr Client ....................... SKIPPED
[INFO] Ambari Infra Solr Plugin ........................... SKIPPED
[INFO] Ambari Logsearch Assembly .......................... SKIPPED
[INFO] Ambari Logsearch Integration Test 2.6.1.0.0 ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE{code}
> Install guide does not give advice for error on install rpm:rpm
> ---------------------------------------------------------------
>
> Key: AMBARI-23712
> URL: https://issues.apache.org/jira/browse/AMBARI-23712
> Project: Ambari
> Issue Type: Documentation
> Components: documentation
> Affects Versions: 2.6.1
> Environment: CentOS Linux 7 (Core)
>
> Linux theBox 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017
> x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Shane Thomas
> Priority: Blocker
>
>
> Was running through this install guide:
>
> [https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1]
>
> The part at for CentOS:
> mvn -B clean install rpm:rpm -DnewVersion=2.6.1.0.0 -DskipTests
> -Dpython.ver="python >= 2.6"
>
> Fails with:
> {code:java}
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5.420 s
> [INFO] Finished at: 2018-04-26T21:47:30Z
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check
> (default) on project ambari: Too many files with unapproved license: 2 See
> RAT report in: /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt ->
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari:
> Too many files with unapproved license: 2 See RAT report in:
> /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:146)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
> at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:564)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
> Caused by: org.apache.rat.mp.RatCheckException: Too many files with
> unapproved license: 2 See RAT report in:
> /home/sthomas/ambari/apache-ambari-2.6.1-src/target/rat.txt
> at org.apache.rat.mp.RatCheckMojo.check (RatCheckMojo.java:194)
> at org.apache.rat.mp.RatCheckMojo.execute (RatCheckMojo.java:182)at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:146)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
> at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:564)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)