[ 
https://issues.apache.org/jira/browse/HBASE-29162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dávid Paksy updated HBASE-29162:
--------------------------------
    Description: 
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.

The same 2 warnings are also present on branch-3 and branch-2

The build-helper-maven-plugin warning is present on:
 - branch-2.5
 - branch-2.6

 

  was:
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.

The same 2 warnings are also present on branch-3.

The build-helper-maven-plugin warning is present on:
 - branch-2.5
 - branch-2.6

 

TODO: Check branch-2!


> 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
>            Assignee: Dávid Paksy
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.7.0, 3.0.0-beta-2, 2.6.3, 2.5.12
>
>
> 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.
> The same 2 warnings are also present on branch-3 and branch-2
> The build-helper-maven-plugin warning is present on:
>  - branch-2.5
>  - branch-2.6
>  



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

Reply via email to