Dávid Paksy created HBASE-29162:
-----------------------------------

             Summary: Fix Maven build warnings
                 Key: HBASE-29162
                 URL: https://issues.apache.org/jira/browse/HBASE-29162
             Project: HBase
          Issue Type: Improvement
          Components: build
    Affects Versions: 4.0.0-alpha-1
            Reporter: Dávid Paksy


On master the Maven build prints the following warnings:
 
{noformat}
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.hbase:hbase-server:jar:4.0.0-alpha-1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found 
duplicate declaration of plugin org.codehaus.mojo:build-helper-maven-plugin @ 
org.apache.hbase:hbase-server:${revision}, 
/home/david/projects/hbase/hbase-server/pom.xml, line 544, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.hbase:hbase-examples:jar:4.0.0-alpha-1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: org.apache.logging.log4j:log4j-1.2-api:jar -> duplicate declaration 
of version (?) @ org.apache.hbase:hbase-examples:${revision}, 
/home/david/projects/hbase/hbase-examples/pom.xml, line 203, column 17
[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] 
{noformat}

It does not cause problem at the moment, so minor issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to