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

ASF subversion and git services commented on TAMAYA-205:
--------------------------------------------------------

Commit 3be98911247611c5bc87fd9e1b46411ce280dd95 in incubator-tamaya's branch 
refs/heads/master from [~hugo.hirsch]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-tamaya.git;h=3be9891 ]

TAMAYA-205: Update dependencies to try to fix build

* Update plugins/dependencies to try to fix the build on ASF infra
(not look for codehaus anymore)


> Build warnings about duplicate versions for mockito
> ---------------------------------------------------
>
>                 Key: TAMAYA-205
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-205
>             Project: Tamaya
>          Issue Type: Bug
>    Affects Versions: 0.2-incubating
>         Environment: 22:29 $ mvn --version
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
> 2015-11-10T17:41:47+01:00)
> Maven home: /home/me/software/maven
> Java version: 1.8.0_112, vendor: Oracle Corporation
> Java home: /home/me/jdk1.8.0_112/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "4.4.0-47-generic", arch: "amd64", family: "unix"
>            Reporter: Philipp Ottlinger
>             Fix For: 0.3-incubating
>
>
> Jenkins and locally you see the following warning in each build of tamaya:
> {code}
> ✔ ~/ws2016/incubator-tamaya [master|✚ 1] 
> 22:29 $ mvn
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya:buildconfigurations:jar:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ 
> org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, 
> /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya:tamaya-api:jar:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ 
> org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, 
> /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya:tamaya-core:bundle:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ 
> org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, 
> /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya:tamaya-code:pom:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ 
> org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, 
> /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya:tamaya-docs:jar:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ 
> org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, 
> /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya.examples:01-minimal:jar:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ 
> org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, 
> /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya.examples:examples:pom:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ 
> org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, 
> /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya:tamaya-distribution:jar:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ 
> org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, 
> /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.tamaya:tamaya-all:pom:0.3-incubating-SNAPSHOT
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ line 
> 265, column 25
> [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}
> The mockito-version is defined in the base pom but not in the mentioned 
> module's subpom.xml - where does the second version come from?



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

Reply via email to