[ https://issues.apache.org/jira/browse/AMBARI-21158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055451#comment-16055451 ]
Hudson commented on AMBARI-21158: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7654 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7654/]) AMBARI-21158. Eliminate Maven warnings (adoroszlai: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=597d003d43c9ab43cca381810462e0803962a4fa]) * (edit) ambari-web/pom.xml * (edit) ambari-project/pom.xml * (edit) ambari-metrics/pom.xml * (edit) ambari-server/pom.xml * (edit) ambari-metrics/ambari-metrics-host-monitoring/pom.xml * (edit) ambari-funtest/pom.xml > Eliminate Maven warnings > ------------------------ > > Key: AMBARI-21158 > URL: https://issues.apache.org/jira/browse/AMBARI-21158 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 3.0.0 > Reporter: Doroszlai, Attila > Assignee: Doroszlai, Attila > Fix For: 3.0.0 > > Attachments: AMBARI-21158.patch > > > Get rid of as many Maven warnings as possible: > {noformat} > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-web:pom:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-hadoop-sink:jar:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-flume-sink:jar:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-kafka-sink:jar:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-storm-sink:jar:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-storm-sink-legacy:jar:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-timelineservice:jar:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-host-monitoring:pom:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [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.(groupId:artifactId)' must be unique but > found duplicate declaration of plugin > org.apache.maven.plugins:maven-surefire-plugin @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-assembly:pom:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics-host-aggregator:jar:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 169, 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.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ > org.apache.ambari:ambari-metrics:2.0.0.0-SNAPSHOT, > /home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-metrics/pom.xml, > line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-metrics:pom:2.0.0.0-SNAPSHOT > [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but > found duplicate declaration of plugin > org.apache.maven.plugins:maven-surefire-plugin @ line 169, 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 202, column 15 > [WARNING] 'build.plugins.plugin.version' for org.apache.rat:apache-rat-plugin > is missing. @ line 282, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-clean-plugin is missing. @ line 187, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-server:jar:2.0.0.0-SNAPSHOT > [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but > found duplicate declaration of plugin > org.apache.maven.plugins:maven-antrun-plugin @ line 699, 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 735, column 15 > [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but > found duplicate declaration of plugin org.codehaus.mojo:exec-maven-plugin @ > line 824, column 15 > [WARNING] 'build.plugins.plugin.version' for > org.codehaus.mojo:properties-maven-plugin is missing. @ line 469, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.ambari:ambari-funtest:jar:2.0.0.0-SNAPSHOT > [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.0.0.0-SNAPSHOT > [WARNING] 'build.plugins.plugin.version' for > org.codehaus.mojo:properties-maven-plugin is missing. @ line 207, 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. > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)