[
https://issues.apache.org/jira/browse/HDDS-2298?focusedWorklogId=327723&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-327723
]
ASF GitHub Bot logged work on HDDS-2298:
----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Oct/19 10:25
Start Date: 14/Oct/19 10:25
Worklog Time Spent: 10m
Work Description: elek commented on pull request #18: HDDS-2298. Fix
maven warning about duplicated metrics-core jar
URL: https://github.com/apache/hadoop-ozone/pull/18
## What changes were proposed in this pull request?
Maven build of Ozone is starting with a warning:
```
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hadoop:hadoop-ozone-tools:jar:0.5.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: io.dropwizard.metrics:metrics-core:jar -> version 3.2.4 vs (?)
@ line 94, 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]
```
It's better to avoid it.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2298
## How this patch can be tested?
```
mvn clean install | head -n 20
```
Without patch: there are warnings.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 327723)
Remaining Estimate: 0h
Time Spent: 10m
> Fix maven warning about duplicated metrics-core jar
> ---------------------------------------------------
>
> Key: HDDS-2298
> URL: https://issues.apache.org/jira/browse/HDDS-2298
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: build
> Reporter: Marton Elek
> Assignee: Marton Elek
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Maven build of Ozone is starting with a warning:
> {code:java}
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.hadoop:hadoop-ozone-tools:jar:0.5.0-SNAPSHOT
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
> be unique: io.dropwizard.metrics:metrics-core:jar -> version 3.2.4 vs (?) @
> line 94, 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]
> {code}
> It's better to avoid it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]