You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/28 21:41:59 UTC

[jira] [Commented] (TAMAYA-205) Build warnings about duplicate versions for mockito

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

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

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

TAMAYA-205: Prevent local build failure

* Add missing findbugs config for 01-minimal example.


> 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)