[ https://issues.apache.org/jira/browse/RANGER-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556182#comment-17556182 ]
Bhavik Patel commented on RANGER-3773: -------------------------------------- [~kirbyzhou] Please close all the review request. > maven can not build ranger-2.3.0 because commons-cli is duplicated in pom > ------------------------------------------------------------------------- > > Key: RANGER-3773 > URL: https://issues.apache.org/jira/browse/RANGER-3773 > Project: Ranger > Issue Type: Bug > Components: plugins > Affects Versions: 3.0.0, 2.3.0 > Reporter: kirby zhou > Assignee: kirby zhou > Priority: Blocker > Fix For: 3.0.0, 2.3.0 > > > maven can not build ranger-2.3.0 with following errors: > {code:java} > [WARNING] Some problems were encountered while building the effective model > for org.apache.ranger:ranger-plugins-installer:jar:2.3.0 > [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must > be unique: commons-cli:commons-cli:jar -> duplicate declaration of version > ${commons.cli.version} @ line 41, column 21 > {code} > {code:java} > ]$ git blame agents-installer/pom.xml > 3c59734236 (Dilli Dorai Arumugam 2014-09-17 13:05:16 -0700 1) <?xml > version="1.0" encoding="UTF-8"?> > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 2) <!-- > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 3) Licensed to > the Apache Software Foundation (ASF) under one or more > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 4) contributor > license agreements. See the NOTICE file distributed with > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 5) this work > for additional information regarding copyright ownership. > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 6) The ASF > licenses this file to You under the Apache License, Version 2.0 > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 7) (the > "License"); you may not use this file except in compliance with > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 8) the License. > You may obtain a copy of the License at > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 9) > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 10) > http://www.apache.org/licenses/LICENSE-2.0 > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 11) > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 12) Unless > required by applicable law or agreed to in writing, software > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 13) distributed > under the License is distributed on an "AS IS" BASIS, > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 14) WITHOUT > WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 15) See the > License for the specific language governing permissions and > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 16) limitations > under the License. > 99c462d2c3 (Dilli Dorai Arumugam 2014-10-13 17:46:47 -0700 17) --> > ^7defc061d (Owen O'Malley 2014-08-14 13:48:58 -0700 18) <project > xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd"> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 19) > <modelVersion>4.0.0</modelVersion> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 20) > <artifactId>ranger-plugins-installer</artifactId> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 21) > <name>Installer Support Component</name> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 22) > <description>Security Plugins Installer</description> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 23) > <packaging>jar</packaging> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 24) <parent> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 25) > <groupId>org.apache.ranger</groupId> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 26) > <artifactId>ranger</artifactId> > 38f7cc98dd (Ramesh Mani 2022-05-19 09:39:38 -0700 27) > <version>2.3.0</version> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 28) > <relativePath>..</relativePath> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 29) </parent> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 30) > <dependencies> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 31) > <dependency> > df5a95e1be (Colm O hEigeartaigh 2016-04-25 11:46:25 +0100 32) > <groupId>commons-cli</groupId> > df5a95e1be (Colm O hEigeartaigh 2016-04-25 11:46:25 +0100 33) > <artifactId>commons-cli</artifactId> > df5a95e1be (Colm O hEigeartaigh 2016-04-25 11:46:25 +0100 34) > <version>${commons.cli.version}</version> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 35) > </dependency> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 36) > <dependency> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 37) > <groupId>org.apache.commons</groupId> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 38) > <artifactId>commons-compress</artifactId> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 39) > <version>${commons.compress.version}</version> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 40) > </dependency> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 41) > <dependency> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 42) > <groupId>commons-cli</groupId> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 43) > <artifactId>commons-cli</artifactId> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 44) > <version>${commons.cli.version}</version> > 35c8bc3923 (Ramesh Mani 2021-10-24 21:25:23 -0700 45) > </dependency> > 4bc45ee038 (Colm O hEigeartaigh 2016-01-26 11:06:27 -0500 46) > </dependencies> > ^7defc061d (Owen O'Malley 2014-08-14 13:48:58 -0700 47) </project> > {code} -- This message was sent by Atlassian Jira (v8.20.7#820007)