ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-21158) Eliminate Maven warnings
Date Wed, 31 May 2017 14:25:04 GMT
Doroszlai, Attila created AMBARI-21158:
------------------------------------------

             Summary: Eliminate Maven warnings
                 Key: AMBARI-21158
                 URL: https://issues.apache.org/jira/browse/AMBARI-21158
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Doroszlai, Attila
            Assignee: Doroszlai, Attila
             Fix For: 3.0.0


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.3.15#6346)

Mime
View raw message