You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Dapeng Sun (JIRA)" <ji...@apache.org> on 2015/01/09 02:42:35 UTC

[jira] [Comment Edited] (SENTRY-604) Clean duplicate dependences in poms

    [ https://issues.apache.org/jira/browse/SENTRY-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270364#comment-14270364 ] 

Dapeng Sun edited comment on SENTRY-604 at 1/9/15 1:42 AM:
-----------------------------------------------------------

A simple command to find it may like {noformat}build_sentry | grep  "must be unique" -C 10{noformat}, maybe a good solution is we add some check at Jenkins PreCommit test.


was (Author: dapengsun):
A simple command to find it may like {noformat}build_sentry | grep  "must be unique" -C 10{noformat}, maybe a good solution is we add some check at Jenkins test.

> Clean duplicate dependences in poms
> -----------------------------------
>
>                 Key: SENTRY-604
>                 URL: https://issues.apache.org/jira/browse/SENTRY-604
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Dapeng Sun
>            Assignee: Dapeng Sun
>         Attachments: SENTRY-604.001.patch
>
>
> When executing {{mvn install}}, it may got the following warning:
> {noformat}
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.sentry:sentry-core:pom:1.5.0-incubating-SNAPSHOT
> [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.solr:solr-test-framework:jar -> duplicate declaration of version ${solr.version} @ org.apache.sentry:sentry:1.5.0-incubating-SNAPSHOT, /home/sundp/workspace/opensource/sentry/pom.xml, line 250, column 19
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.sentry:sentry-provider-db:jar:1.5.0-incubating-SNAPSHOT
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.sentry:sentry-core-model-search:jar -> duplicate declaration of version (?) @ line 90, column 17
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.sentry:sentry-tests-hive:jar:1.5.0-incubating-SNAPSHOT
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.zookeeper:zookeeper:jar -> version ${zookeeper.version} vs (?) @ line 261, column 19
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.sentry:sentry:pom:1.5.0-incubating-SNAPSHOT
> [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.solr:solr-test-framework:jar -> duplicate declaration of version ${solr.version} @ line 250, column 19
> [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}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)